Super cash and woo

Posted in: Newspaper
Post count: 91

Hi,
1. When adding a product to the cart, the notification “Product added to cart, checkout” doesn’t appear.

View post on imgur.com


Please check it yourself as well: https://edubit.ir/

2. In the shop, the “Add to Cart” button doesn’t work at all. But when I deactivate the Super Cache plugin, the notification appears.

View post on imgur.com


Please check it yourself as well: https://edubit.ir/product/powerpoint-farsi2-review-exercises/

What should I do to resolve this conflict?

Thank you!

Post count: 35449

Hi,

When you are using a cache plugin you need to set some configuration recommended by WooCommerce authors – https://developer.woocommerce.com/docs/best-practices/performance/configuring-caching-plugins/
Also, here is a similar topic – https://wordpress.org/support/topic/enabling-wp-super-cache-causes-woocommerce-memberships-plugin-to-not-work/

I hope this will help you!
Thank you!

Post count: 91

Hi,
Thank you!
Where can I change the font of the ‘Product added to cart’ notification?
Thank you!

Post count: 91
Post count: 35449

Hi,
You can edit the product template with tagDiv Composer https://i.imgur.com/K9JHW5R.png select the notice and set the fonts you need – https://i.imgur.com/X7GWd3J.png
Thank you!

Post count: 91

Hi,
The icon is overlapping the text, and the “View Cart” button is stuck to the text.
How can I fix these issues?

View post on imgur.com

View post on imgur.com


Also, where can I change the length of this box?

Thank you!

Post count: 35449

Hi,

It is possible that you have the notice set in a column that is not full-width – https://i.imgur.com/mJ0cbCv.png https://i.imgur.com/7JbFDZL.png, so what you can do is to drag and drop the notice under the breadcrumbs (that row should be full-width).

To adjust the text, button and icons, you can use this css:
.td_woo_product_notices .woocommerce-notices-wrapper>*:before {
margin-left: 40px;
margin-right: 0;
}
.woocommerce-message::before {
right: 0;
}
body .td_woo_product_notices .woocommerce-notices-wrapper .button {
margin-left: 0;
margin-right: auto;
}

Post count: 91

Hi,
Why doesn’t the “View Cart” button go to the end of the row, like in the original version?

View post on imgur.com

View post on imgur.com

In the mobile version, the text is also left-aligned and stuck to the “View Cart” button. How can I fix this?

View post on imgur.com

Thank you!

Post count: 35449

Hi,

Ithink it is related to this code:
body .td_woo_product_notices .woocommerce-notices-wrapper .button {
margin-left: 0;
margin-right: auto;
}

insted of margin-right: auto; you can try margin-right: 0;

Post count: 91

Hi,
There was no difference, and it’s still left-aligned.

View post on imgur.com

Thank you!

Post count: 20688

Hi,

It can be made to look better by removing the margin right of the checkmark and adding a margin right for the button https://prnt.sc/QXF8OWQgjEDI

Please try this code https://pastebin.com/Qv7uHGQf Clear the cache after entering it.

Thanks.

Post count: 91

Hi,
This code doesn’t align the text.
I want the comment text to be right-aligned.
Thanks.

Post count: 91

I meant the notification text “Product has been added to the cart.”

Post count: 20688

So like this https://prnt.sc/U5rzLI4uOo-d Please try this code https://pastebin.com/LuTsqnTc and it should make the message look as you want.

Thanks.

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.