Discussed with bojanz on IRC, that it would make sense to store the product's view mode in the add to cart form's form state.

Comments

agoradesign created an issue. See original summary.

agoradesign’s picture

Status: Active » Needs review
StatusFileSize
new1.8 KB
bojanz’s picture

This was easier than we expected :)

Waiting on Travis just in case: https://travis-ci.org/drupalcommerce/commerce/builds/137883671

agoradesign’s picture

Safety first :D

  • bojanz committed 29cf556 on 8.x-2.x authored by agoradesign
    Issue #2749135 by agoradesign: Add to cart form should provide the...
bojanz’s picture

Status: Needs review » Fixed

Committed! Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.