Support Request: Issue with Decimal Quantity Handling in Cart Using XStore Theme

This topic has 9 replies, 2 voices, and was last updated 10 months, 2 weeks ago ago by Luca Rossi

  • Avatar: Merin
    Merin
    Participant
    January 27, 2025 at 06:12

    We purchased the XStore theme in 2022 using the purchase code 274f32***…***2f15f. Currently, we are encountering an issue on our site related to the Smart Product Quantity plugin by High Addons, which we use to enable decimal values for cart quantities.

    Previously, this functionality was working as expected. However, starting two days ago, decimal values are displaying correctly on the product details page but are not reflected in the cart. When we attempt to update the quantity in the cart, the changes are not applied.

    We initially reported this issue to the plugin’s support team, and after their investigation, they concluded that the problem originates from the theme. I have attached their response for your reference.
    ” The shortcode you used should accept the decimal quantity but I came to know that your theme also does not allow the decimal quantity. ”
    Could you please assist us in resolving this issue?

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    January 27, 2025 at 09:09

    Dear @Merin,

    We hope this message finds you well.

    Could you kindly provide temporary WP-Admin access so that we may review your settings? To do so, please create a new user account with an Administrator role through your WordPress Dashboard. Once the account has been created, you can securely share the username and password with us via the designated Private Content section.

    Thank you for your cooperation. Should you have any questions or require assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Merin
    Merin
    Participant
    January 27, 2025 at 09:19

    Thank you for your response, As requested we have shared the credentials, can you please check using this.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    January 28, 2025 at 08:29

    Dear @Merin,

    We’ve checked the error log and found this issue:

    
    [28-Jan-2025 07:25:53 UTC] PHP Fatal error:  Uncaught DivisionByZeroError: Division by zero in /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/Cart/CartItem/CartItemConverter.php:60
    Stack trace:
    #0 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/CartProcessor/CartProcessor.php(962): ADP\BaseVersion\Includes\Core\Cart\CartItem\CartItemConverter->fromBasicCartItemToFacade(Object(ADP\BaseVersion\Includes\Core\Cart\CartItem\Type\Basic\BasicCartItem))
    #1 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/CartProcessor/CartProcessor.php(681): ADP\BaseVersion\Includes\CartProcessor\CartProcessor->addCommonItems(Object(ADP\BaseVersion\Includes\Core\Cart\Cart), Object(WC_Cart))
    #2 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Engine.php(199): ADP\BaseVersion\Includes\CartProcessor\CartProcessor->process(false)
    #3 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Engine.php(227): ADP\BaseVersion\Includes\Engine->process(false)
    #4 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/class-wp-hook.php(324): ADP\BaseVersion\Includes\Engine->afterCalculateTotals(Object(WC_Cart))
    #5 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #6 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1411): do_action('woocommerce_aft...', Object(WC_Cart))
    #8 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(96): WC_Cart->calculate_totals()
    #9 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output(Array)
    #10 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper(Array)
    #11 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/shortcodes.php(434): WC_Shortcodes::cart(Array, '', 'woocommerce_car...')
    #12 [internal function]: do_shortcode_tag(Array)
    #13 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(woocom...', 'do_shortcode_ta...', '[woocommerce_ca...')
    #14 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/class-wp-hook.php(324): do_shortcode('[woocommerce_ca...')
    #15 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('[woocommerce_ca...', Array)
    #16 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/post-template.php(256): apply_filters('the_content', '[woocommerce_ca...')
    #17 /home/customer/www/melangedesigningstudio.com/public_html/wp-content/themes/xstore/page.php(34): the_content()
    #18 /home/customer/www/melangedesigningstudio.com/public_html/wp-includes/template-loader.php(106): include('/home/customer/...')
    #19 /home/customer/www/melangedesigningstudio.com/public_html/wp-blog-header.php(19): require_once('/home/customer/...')
    #20 /home/customer/www/melangedesigningstudio.com/public_html/index.php(17): require('/home/customer/...')
    #21 {main}
    thrown in /home/customer/www/melangedesigningstudio.com/public_html/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/Cart/CartItem/CartItemConverter.php on line 60
    

    It seems the error is’t related to our XStore theme. Could you please provide this error to the Advanced Dynamic Pricing for WooCommerce plugin’s author as well?

    Thank you!

    Avatar: Merin
    Merin
    Participant
    January 28, 2025 at 09:00

    Yes the issue was related to Advanced Dynamic Pricing for WooCommerce we have just deactivate the plugin and now the decimal value is coming correctly in cart and checkout page.

    Thank you for you great support

    Avatar: Justin
    Luca Rossi
    Support staff
    January 28, 2025 at 09:41

    Glad to hear everything is working perfectly now.

    If you need anything else please let us know.

    Best regards,
    The 8Theme Team

    Avatar: Merin
    Merin
    Participant
    February 3, 2025 at 06:33

    We are using the XStore theme on one of our WooCommerce sites with purchase ID 306c86fc-9d14-4c35-8472-1d3b1c254a18, and the registered purchase email is catholicanskart@gmail.com.

    We are currently facing the following issues on the site:

    1. For guest users, when a product is added to the cart, it initially shows as added, but upon visiting the cart page, it appears empty. However, this issue does not occur for logged-in users.

    2. In the backend, plugin updates are not visible. We had rolled back WooCommerce to a previous version, but the plugin update option is still missing. Additionally, we installed a rollback plugin, but the rollback option is not appearing.

    3. Changes made in the theme options are not being saved.

    Avatar: Merin
    Merin
    Participant
    February 3, 2025 at 06:54

    This issue is fixed

    Avatar: Justin
    Luca Rossi
    Support staff
    February 3, 2025 at 08:52

    Dear @Merin,

    We are pleased to hear that your issue has been resolved.

    To assist you more effectively, we kindly recommend creating a new support ticket for any future concerns or inquiries.

    Thank you for your understanding and cooperation.

    Best regards,
    The 8Theme Team

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

The issue related to '‘Support Request: Issue with Decimal Quantity Handling in Cart Using XStore Theme’' has been successfully resolved, and the topic is now closed for further responses

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