• Resolved zhakal

    (@zhakal)


    When we moved from WooCommcer 2.6.X to the newest version of 3.2.X, our products does not get a price set when adding them to the cart. It does get a total price, but only on the “main” cart page and not in the widget or mini-cart.

    The product has a price, but just doesn’t display when adding to cart.
    The product has been updated to have the correct types like:

    $product->get_id()
    get_product_price( $_product )
    get_product_subtotal( $_product, $cart_item['quantity'] )
    • This topic was modified 7 years ago by zhakal.
    • This topic was modified 7 years ago by zhakal.
    • This topic was modified 7 years ago by zhakal.
    • This topic was modified 7 years ago by zhakal.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dan (a11n)

    (@drawmyface)

    Issues like this are often caused by either a conflict with your theme or with another plugin.

    The best way to determine if the issue is being caused by a theme and/or plugin is to temporarily switch your theme to Storefront (https://www.woocommerce.com/storefront/) and disable all plugins except for WooCommerce. A good way to do this is with a free plugin called Meks Quick Plugin Disabler (https://www.ads-software.com/plugins/meks-quick-plugin-disabler/), which will remember what plugins you currently have active so it’s easy to switch back.

    If that resolves the issue, then slowly re-enable features until you find the one that’s causing the conflict.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved. If you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Variable product gives 0 price’ is closed to new replies.