• I am using free version of Advanced Product Fields for WooCommerce where customer can choose option and based on selection price of product shall change.
    However everything seems to be working correct until cart is empty.
    If cart has some preloaded products then after selecting custom option on product page which should add only additional price to base price of product, I observed base price is changed with some large number. It is easily reproducible issue. What is relation of cart value to product value?

    Thanks in advance.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Maarten

    (@maartenbelmans)

    Hi @pravsinst

    Please give exact steps on how to replicate this issue on your site.

    Thread Starter pravsinst

    (@pravsinst)

    Steps are

    1. Add https://www.skansol.dk/product/risen-all-black-400w/ to cart.
    2. Go to https://www.skansol.dk/product/huawei-3kw-hybrid-3-fase-anlaeg-med-batteri/ and select add on option 8x Longi Hi_MO_5m_LR_5_54_HPB_405
    3. Notice base price product in total is large number instead of 18499.
    Plugin Support Robert Fortaleza

    (@robfrtlz)

    Hi @pravsinst,

    Thank you for the details.

    There might be a conflict with the plugins that are active on your site. To confirm this, please deactivate all your plugins except WooCommerce and our plugin, then check if the issue persists.

    If the issue is no longer happening, then one of the plugins is causing this behavior.

    Thread Starter pravsinst

    (@pravsinst)

    Hi

    I tried to deactivate all possible plugins and keeping it bare minimum, but still issue comes.

    In debugging further I noticed issue only comes when cart is preloaded with more than 1 items of same product.

    For example

    Case 1: No issue

    Step 1: single Risen solar panel is added to cart

    Step 2: Huawei 14KW Hybrid 3 phase solar system is selected with Longi panels. Product price is shown correctly

    Case 2: Incorrect price

    Step 1: 8 Risen solar panels are added to cart

    Step 2: Huawei 14KW Hybrid 3 phase solar system is selected with Longi panels. Product price is shown wrong.

    Where does ‘Total product‘ (updated by your plugin) gets value from in your plugin? Product base value which is set by individual product property shows correct value.

    Expectation is Customer sees

    Total Product (product value) = base value set by product property

    Add on = Addon price based on customer selection

    Total value = Product value + Add on

    • This reply was modified 1 year, 1 month ago by pravsinst.
    Plugin Author Maarten

    (@maartenbelmans)

    Hi @pravsinst

    I need more information. I can not see that the price is wrong. This is what I see: https://i.snipboard.io/KPs7Di.jpg Which looks correct. If it is incorrect, please give me exact steps on how to reproduce and include screenshots. Thanks!

    Thread Starter pravsinst

    (@pravsinst)

    Hi Maarten,

    Steps are as mentioned before.

    Step 1: Two Risen solar panels are added to cart

    Step 2: Huawei 14KW Hybrid 3 phase solar system is selected with Longi panels. Product price is shown wrong.

    I have sent email with screenshot what I see with these steps.

    Further troubleshooting shows- Product value = number of items in cart x Product base value.

    In above case

    Product value = 2 (number of Risen panels in cart) x Product base value.

    = 2 x 53999 = 107998.

    Rather it should be

    Product value = Product base value.

    Note: This issue happens only when customer selects other than default option i.e. in this case Longi panels instead of Risen panels from product options.

    • This reply was modified 1 year, 1 month ago by pravsinst.
    Plugin Author Maarten

    (@maartenbelmans)

    I do not know what “Risen Solar panels” are. I need exact product links.

    Thread Starter pravsinst

    (@pravsinst)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘product page total invalid’ is closed to new replies.