Wrong price display for product variations (Side Cart, Cart Summary and Checkout)

This topic has 17 replies, 2 voices, and was last updated 2 weeks ago ago by Youcef

  • Avatar: Youcef
    Youcef
    Participant
    April 3, 2025 at 15:11

    Hello,

    I hope you’re doing well ?

    I’m experiencing a pricing display issue with variable products.

    Each product has two variations:

    – Subscription at €59.90
    – One-time purchase at €69.90

    When one or both variations are added to the cart:

    The total price is correct on the cart page and the checkout page BUT the side cart shows incorrect prices :

    – The subtotal in the side cart is also incorrect.

    Additionally, the cart summary table on the cart page and the order review section on the checkout page also fail to display the correct individual prices — they seem to fetch the price of only one variation instead of the one actually selected.

    I’ve recorded a video showing this issue in action and will attach it.

    Could you please investigate and let me know how to resolve this?

    Thank you for your assistance,
    Best regards,
    Youcef

    Please, contact administrator
    for this information.
    16 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 4, 2025 at 06:50

    Hello @Youcef
    Could you please test if the same issue occurs when using a default theme, such as Storefront? (Appearance — Themes).
    If the behavior continues regardless of the theme being used, it suggests that the problem may not be related to the theme itself. In this case, we would recommend you contact support of woocommerce plugin – https://wordpress.org/support/plugin/woocommerce/
    Kind regards, Jack Richardson
    The 8theme’s team

    Avatar: Youcef
    Youcef
    Participant
    April 4, 2025 at 11:04

    Hello,

    Thank you very much for your help.

    We tested it on the other themes and it works, so I asked the subscription plugin developer and here is his response:

    this issue occurs specifically with the subscription product. When the user selects the one-time purchase option, we update the cart item price accordingly. However, the theme continues to retrieve the price from the product meta stored in the database, rather than fetching the updated price from the cart. Ideally, it should obtain the price directly from the cart to reflect the correct amount based on the selected option.

    Looking forward to hearing from you.

    Sincerely,
    Youcef

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 4, 2025 at 14:25

    Dear @Youcef,

    I hope this message finds you well.

    Could you kindly let us know which themes you have tested with? Additionally, we would greatly appreciate it if you could provide a video demonstrating the correct functionality of the updated products in the mini cart. This would help us better understand the expected default behavior.

    It appears that the issue may be related to the Subscription plugin, and the developers have acknowledged it as a bug. If this is a known incompatibility, they might already have a solution available. Perhaps there is a relevant code snippet or a discussion thread on their support forum that addresses this issue?

    We believe it would be more efficient to explore any existing solutions before involving our development team.

    Thank you in advance for your assistance.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Youcef
    Youcef
    Participant
    April 4, 2025 at 14:40

    Hello,

    Thank you very much for your help.

    We tested this on the 2025 WordPress theme.

    I’ll make another video to show you how it works and get back to you.

    I agree with you…

    Thank you for your help.

    Sincerely,
    Youcef

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 4, 2025 at 15:56

    Hello @Youcef,

    We appreciate your willingness to create another video to demonstrate how it works. We look forward to reviewing it and continuing to assist you further.

    Thank you once again for your cooperation and kind words.

    Best Regards,
    8Theme’s Team

    Avatar: Youcef
    Youcef
    Participant
    April 8, 2025 at 09:53

    Hello,

    I’m getting back to you because the plugin developer replied as follows:

    Reply this to theme developer and let me know their response

    We’re updating the cart item prices using the correct WooCommerce hook, which ensures the prices are adjusted dynamically during the cart process. However, it seems the theme is pulling the product price directly from the product meta instead of using the price stored in the cart item data.

    This method works fine for products with fixed prices, so the problem might not be obvious at first. But for products with dynamic pricing or any adjustments made during the cart process, this causes the displayed price to be inaccurate or leads to unexpected behavior.

    We look forward to hearing from you.
    Sincerely,
    Youcef

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 9, 2025 at 08:36

    Dear @Youcef,

    We hope this message finds you well.

    We would like to kindly remind you that we have not yet received the video demonstrating the functionality in question using a default theme, such as Storefront, as requested in our previous response: https://www.8theme.com/topic/wrong-price-display-for-product-variations-side-cart-cart-summary-and-checkout/#post-439798.

    We are awaiting your response with the requested video in order to better understand how the issue behaves and to verify whether it occurs with the default theme.

    Thank you for your cooperation and for respecting our support time.

    Best regards,
    The 8Theme Team

    Avatar: Youcef
    Youcef
    Participant
    May 29, 2025 at 19:46

    Hello,

    Please excuse the late reply.

    I’ve attached a video to show that I created a test cart page named “Cart Test”, and everything works correctly there. However, when I switch back to the cart page using the theme template, which is named “Panier”, the price display issue reappears.

    This issue is also present in the sidecart component.

    Could you please look into this and identify what’s causing the problem so it can be resolved?

    Looking forward to your response.

    Best regards,
    Youcef

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 1, 2025 at 11:42

    Dear @Youcef,

    We hope this message finds you well.

    Upon reviewing the code of the Subscriptions plugin, we have identified that it applies its filters before our Cart widget in Elementor is fully loaded. This behavior appears to be the reason for the incorrect pricing being displayed.

    As a temporary workaround, we recommend using the default WooCommerce shortcode [woocommerce_cart] on your Cart page (please refer to the screenshot here: https://prnt.sc/Pwx3hJbTxyZR) instead of the separate Cart widget provided by Elementor. When using the default shortcode, the pricing is displayed correctly. However, please note that the design may differ slightly, as shown in this example: https://prnt.sc/ud7806tS5f2Q.

    If you decide to proceed with the default shortcode, we would be happy to assist you in making any design adjustments you may require to better match your current layout.

    Additionally, we suggest reaching out to the support team of your Subscriptions plugin (https://wordpress.org/support/plugin/subscriptions-for-woocommerce/) to inquire whether they are using specific hooks or filters that may not be compatible with custom Cart widgets. They may be able to provide further guidance or a solution to ensure compatibility.

    Once you implement the default shortcode, please make sure to remove any other widgets that may duplicate content already displayed on the page.

    Should you have any further questions or need assistance, please do not hesitate to contact us.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Youcef
    Youcef
    Participant
    June 1, 2025 at 20:44

    Hello,

    Thank you very much for your quick response.
    I used the shortcode and it works correctly except in the sidecart.

    Do you have any ideas on how to resolve this, please?

    Sincerely,
    Youcef

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 2, 2025 at 06:18

    Dear @Youcef,

    We hope this message finds you well.

    We suggest trying the default Elementor “Cart” widget in the header instead of the one provided by our theme. Our custom widget includes a variety of configurable settings, which may affect how certain elements, such as pricing, are displayed. By using the default widget, the appropriate hooks may be triggered, potentially resolving the issue with the price display.

    Alternatively, you may consider disabling the off-canvas content in the current Cart widget in your Header content. This will redirect customers directly to the Cart page, where the correct values are displayed using the standard WooCommerce shortcode, thereby avoiding any display issues within the off-canvas area.

    Should you need further assistance, please do not hesitate to contact us.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Youcef
    Youcef
    Participant
    June 2, 2025 at 08:05

    Hello, thank you for your feedback.

    I just tested the Cart widget, but the problem still persists…

    Sincerely,
    Youcef

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 2, 2025 at 08:49

    Hello @Youcef

    Would you consider disabling the off-canvas content in the current Cart widget in your Header content ?
    Waiting for your feedback.

    Kind regards, Jack Richardson
    The 8theme’s team

    Avatar: Youcef
    Youcef
    Participant
    June 2, 2025 at 09:27

    Sorry, I can’t find how to disable this option… 😅
    Can you please guide me?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 2, 2025 at 10:35

    Hello @Youcef
    Check the screenshot -> https://prnt.sc/uRXxV6BRp320.
    Kind regards, Jack Richardson
    The 8theme’s team

    Avatar: Youcef
    Youcef
    Participant
    June 2, 2025 at 11:00

    Thank you for your feedback.

    Perfect, it works, thank you again.

  • Viewing 17 results - 1 through 17 (of 17 total)

The issue related to '‘Wrong price display for product variations (Side Cart, Cart Summary and Checkout)’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.