[Resolved] Woocommerce customization

Home Forums Support [Resolved] Woocommerce customization

Home Forums Support Woocommerce customization

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #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!

    #803929
    David
    Staff
    Customer Support

    Hi 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/

    #804257
    Pedro

    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.

    #804260
    Pedro

    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.

    #804270
    David
    Staff
    Customer Support

    You 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/

    #804318
    Pedro

    Hello !!

    It worked for me, thank you very much for the help.

    #804325
    David
    Staff
    Customer Support

    Awesome – glad to be of help.

    #804616
    Pedro

    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.

    https://www.dropbox.com/s/cbvvamg38p60ndo/IMG_1787.PNG?dl=0

    #805170
    Pedro

    Can you help me please??

    #805185
    Tom
    Lead Developer
    Lead Developer

    Hi 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;
    }
    #805226
    Pedro

    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.

    https://www.dropbox.com/s/v03yuqcfs21da88/Captura%20de%20pantalla%20de%202019-02-08%2012-27-51.png?dl=0

    https://www.dropbox.com/s/yyizor2rhwf6zgg/Captura%20de%20pantalla%20de%202019-02-08%2012-28-10.png?dl=0

    #805227
    Pedro

    Another option if you can not do it, is to show the amount of items in the cart.

    #805255
    Tom
    Lead Developer
    Lead Developer

    I 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

    #805263
    Pedro

    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?

    #805289
    Tom
    Lead Developer
    Lead Developer

    In 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”.

Viewing 15 posts - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.