Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Jul 2017 05:33 PM by  Steve L
IDouble products in cart
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages


Basic Member


Posts:281
Basic Member


--
03 Jul 2017 01:22 PM

    Hi Stephen,

    DNN 9.1
    SF 11.4
    Template Cart Standard 14

    When somebody place a product in the cart twice, then the cart has 2 separate instances of '1"each in the cart instead of adding the amount to "2" each.
    See the screenshot below.
    Is this correct behavior?

    Regards, Ton

    0


    Basic Member


    Posts:281
    Basic Member


    --
    03 Jul 2017 03:19 PM

    Hi Stephen,

    I have set the Cart template back to standard 13
    I have set the productdetail template back to 19

    Now click a product twice and the cart listing has 1 instance with 2 each.
    See screenshot

    Regards, Ton

    0


    Basic Member


    Posts:394
    Basic Member


    --
    14 Jul 2017 03:21 PM

    Hi, the Cart will only try to combine quantities if they are perfectly matched. If your product has custom fields or is a booking product, it won't be combined because the fields are likely to be different.

    0


    Basic Member


    Posts:281
    Basic Member


    --
    14 Jul 2017 03:54 PM

    Hi J.T.

    This product has no custom fields.
    This product is a productvariantoption

    Also.
    The old template does the job perfectly well with the same database.
    Never had this problem in version 11.03
    Do you have any other ideas about this?

    Regards, Ton

    0


    Veteran Member


    Posts:2957
    Veteran Member


    --
    27 Jul 2017 05:33 PM

    Thank you for reporting the bug. We have corrected it for the next release. Meanwhile, you can make the correction in the \DesktopModules\Revindex.Dnn.RevindexStorefront\Portals\_default\Display\ProductDetail\StandardRegular\Display.cshtml file template near line 882:

    DynamicFormResult: $dynamicFormResultFields.children().length ? $('<div />').append($dynamicFormResultFields).html() : null

    0
    You are not authorized to post a reply.