• Resolved pendekker

    (@pendekker)


    I am having some problems setting up wholesale prices inside the shopping cart/basket page. What happens is that the retail prices are shown per product inside the cart page, instead of the wholesale prices. Also the subtotal shows the retail price subtotal.

    The total price is correct. It shows the total price of all the added wholesale prices.

    Basically, i am having the same problem as the following person had:
    https://www.ads-software.com/support/topic/wholesale-price-not-showing-up-in-product-price-of-woocommerce-menu-cart/

    After adding the solution given on the link above, the price per product is displaying the correct wholesale price. So that part is working now! The only part thats still not working is the subtotal. It still shows the subtotal of retail prices.

    The site is built using Divi.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi @pendekker,

    Thanks for the message!

    Sometimes themes will override the standard Woo templates, I know that Divi does as well.

    On occasion they will drop in a line of code which goes around the standard hooks to present the data. We use the hooks for the totals to alter that subtotal.

    Can you confirm if its the cart page and does this also happen on the checkout page?

    But just so we can double check all the obvious culprits first before we suggest approaching them:

    1. You have wholesale pricing set
    2. You are logged in as a wholesale customer (and that user has no other roles)
    3. The cart exceeds any minimums (product or order level) that are required to activate wholesale pricing (note this is a premium feature, just including here as I don’t know if you are only on free or also premium)

    Let me know how you go. If it’s not any of these things then I’m afraid we might have to look at your theme’s template file.

    It could be worth approaching Divi with this info, or you can paste your [theme folder]/woocommerce/cart/cart-totals.php and [theme folder]/woocommerce/checkout/review-order.php here so we can see.

    Thread Starter pendekker

    (@pendekker)

    hi Josh,

    the checkout page seems to work perfectly, so the problem is on the cart page.

    1. Yes
    2. Yes.
    3. No minimums are set. We indeed are using the premium version.

    I i look into my folders, it doesn’t look like divi is having a woocommerce folder of its own. There is a folder inside the divi theme: /divi/includes/builder/module/woocommerce , but i don’t know if this is what your looking for?

    This is the file CartTotals.php
    Beneath this file i will post the cart-totals.php default file which we are using:

    [ SNIP! ]

    • This reply was modified 2 years, 8 months ago by Jan Dembowski.
    Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hey @pendekker thanks so much for the extra info.

    Since you’re a premium customer I think we might be better off grabbing some access and seeing this in action.

    Also my support crew might have a better idea about this since they see Divi sites all the time. I’m going to give them the heads up to expect a ticket from you and pass on this extra info too.

    Could you raise a ticket here: https://wholesalesuiteplugin.com/support/

    We’ll try and get to the bottom of this.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Please do not post large code or responses like that here, it doesn’t work after ~10 lines or so.

    If you need share that data please use https://gist.github.com/ or https://pastebin.com/ instead and post the link to that paste.

    Since this is from a customer I am closing this topic. For pro or commercial product support please contact the developer directly on their site. This includes any pre-sales topics as well.

    As the developer is aware, commercial products are not supported in these forums. I am sure they will have no problem supporting you there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wholesale price inside cart’ is closed to new replies.