200 views

Description

When using Cart Layouts, a Legacy cart entered on catalog item is still used. Cart layout should override that macro even if one has been entered.

Steps to Reproduce

  1. Ensure that the catalog property glide.sc.use_cart_layout is set to true.
  2. Create a new catalog item.
  3. Ensure that the Cart and Use cart layouts fields are visible on the form. If not, configure the layout to make these fields visible on the form.
  4. Reference the Cart field to any custom UI macro.
  5. Ensure that the Use cart layouts option is selected.
  6. On the header, click Try It.
    Note that the Order this Item widget on the right shows the custom UI macro referenced in step 4.
  7. Navigate back to the catalog item form.
  8. Ensure that the Use cart layouts option is cleared.
  9. On the header, click Try it.
    Note that the Order this Item widget on the right shows the custom UI macro referenced in step 4.
    Step 6 should result in the widget using the Order this item defined in Cart layouts.
    Step 9 is the expected behavior.
    In step 6 and step 8, the custom UI macro should be rendered for the Order this item widget.

Workaround

Empty the Cart field on the item. The macro should not be rendered when global use_cart_layouts property is true.


Related Problem: PRB677910

Seen In

Fuji Patch 11
Geneva Patch 5

Fixed In

Istanbul

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-10-31 14:57:27
Published:2016-06-14