Closed (fixed)
Project:
Commerce Ajax Add to Cart
Version:
8.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2019 at 11:47 UTC
Updated:
5 Jan 2022 at 14:56 UTC
Jump to comment: Most recent
Comments
Comment #2
subhojit777I am using Commerce's commerce cart - see https://git.drupalcode.org/project/dc_ajax_add_cart/blob/8.x-1.x/src/Ref... for the ajaxified cart. Therefore, I think that form display needs to be configured from the block. There is no need to change any code in the module.
Comment #3
motame commentedIndeed! I had just to configure the display.
Thank you.
Comment #4
subhojit777Comment #6
derekcresswell commentedHello. I've got the same problem and not sure what exactly you mean I need to do.
/admin/commerce/config/product-types/standard/edit/displayI go under the sub-tab default and set Variations to 'Ajax add to cart form'.Do you mean to say that on the same page go to one of the cart sub-tabs? Or over to form-display. I tried tinkering for about 20 minutes and couldn't seem to fix this. Could you provide more details?
Comment #7
subhojit777take a look here https://docs.drupalcommerce.org/commerce2/developer-guide/products/displ... I guess this should help you.
Comment #8
derekcresswell commentedAh ok it was under my order item type's form display. The Ajax add to cart had "Unit Price" active and that messed it up. Thanks!
Comment #9
filipetakanap commentedThank you my god DEREKCRESSWELL!!