- This topic has 22 replies, 3 voices, and was last updated 4 years, 4 months ago by
Tom.
-
AuthorPosts
-
February 6, 2019 at 9:06 pm #803612
Pedro
Hello! I recently bought the premium version.
I would like you to please help me with the following:
– Show the “Continue shopping” button on the cart page.
– To be able to modify the amount of up sells and cross sells that are shown in the product and cart pages. (I have many for each product and it does not look good to show them all)Thank you!
February 7, 2019 at 6:24 am #803929David
StaffCustomer SupportHi there,
1. Create a new Hook Element:
https://docs.generatepress.com/article/hooks-element-overview/
In the hook content add :
<a class="button wc-backward" href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>"> <?php _e( 'Return to shop', 'woocommerce' ) ?> </a>
In the hook drop down select Custom Hook and the add this in the hook field:
woocommerce_after_cart_totals
Check the Execute PHP checkbox and in your display rules set it to entire site.
If you want the button in a different place you can use this visual guide to see where else you can add it:
https://businessbloomer.com/woocommerce-visual-hook-guide-cart-page/
2. This woo doc explains about the upsell and cross sell usage.
https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/February 7, 2019 at 9:54 am #804257Pedro
Hello! Thanks for the help.
The continue buying button already works correctly.
With respect to the other point, I mean the products of directed or crossed sale, not the related products.
In the WooCommerce documentation they show how to change only the amount of related products that are displayed, not cross-selling or directed sales.
February 7, 2019 at 9:56 am #804260Pedro
For a better explanation of what I want:
– For 1 product, I have 6 cross sales set. When I get to the cart, I would like only 2 products to be shown instead of 6.
– For that same product, I have 7 sales directed, I would like only 4 to be shown on the product page.
February 7, 2019 at 10:06 am #804270David
StaffCustomer SupportYou would need to ask Woocommerce support, but i did find these two articles on Woo Docs that may be of help:
https://docs.woocommerce.com/document/change-number-of-upsells-output/
https://docs.woocommerce.com/document/change-number-of-related-products-output/
February 7, 2019 at 10:43 am #804318Pedro
Hello !!
It worked for me, thank you very much for the help.
February 7, 2019 at 10:48 am #804325David
StaffCustomer SupportAwesome – glad to be of help.
February 7, 2019 at 8:38 pm #804616Pedro
Hello! I hope you are well.
Please help, I’ve been making changes to the theme’s appearance (colors).
And after all the changes, when I went to the cart page I found two things:
– The text of the “update cart” button is not readable.
– The “continue buying” button does not adapt to the template.Can you help me please? I send a screenshot of how it appears.
February 8, 2019 at 8:37 am #805170Pedro
Can you help me please??
February 8, 2019 at 9:04 am #805185Tom
Lead DeveloperLead DeveloperHi there,
For the update cart button, try this:
.woocommerce button.button[name="update_cart"]:disabled { color: #fff; }
For the checkout button, try this:
.woocommerce-page table.cart td.actions .button { box-sizing: border-box; }
February 8, 2019 at 9:29 am #805226Pedro
Hello Tom! Thanks worked for me.
Another thing that I need, please. In my shop I have taxes activated.
I have it so that the store shows prices with taxes included, and in the cart and checkout it shows discriminated (prices + taxes)
The problem is that the icon of the cart of the menu, when someone adds something to the cart shows prices without taxes, which can confuse people.
I would like that icon to show the prices with taxes included.
I show you a screenshot so you can see how it appears.
February 8, 2019 at 9:30 am #805227Pedro
Another option if you can not do it, is to show the amount of items in the cart.
February 8, 2019 at 9:48 am #805255Tom
Lead DeveloperLead DeveloperI believe the issue with that is taxes aren’t calculated until you go to the cart/checkout and enter your details. Unless you have a fixed tax rate regardless of the customer’s location?
This might help when it comes to displaying the items instead: https://generatepress.com/forums/topic/change-cart-total-to-product-count-hide-cart-if-empty/#post-704332
February 8, 2019 at 9:52 am #805263Pedro
Hello! The taxes are the same for everyone (19%) And in the configuration of WooCommerce I have it so that the pages of the store show prices with taxes included.
On the cart and payment page, I have it so that the price is shown discriminated (price + tax 19%)
Is there any way that can be fixed?
February 8, 2019 at 10:23 am #805289Tom
Lead DeveloperLead DeveloperIn that case, you can just tell WooCommerce to show prices including the tax.
Go to “WooCommerce > Tax” and change the “Excluding Tax” values to “Including Tax”.
-
AuthorPosts
- You must be logged in to reply to this topic.