Hi, KK!
I have a product which color is defined by a relation editable.
I would like to pass color to cart/cart-modal. I tried to define pp_color as empty editable, but had no luck setting it programmatically to pass to cart.
Is it that the only option is a cms:related_pages call, to find out color by page id?
Second question, please, how to find a page if it's masterpage is unknown? This also relates to cart, as I have products from 2 templates added at the same time to 1 cart. Looking for the right color for the product can lead me to tun <cms:templates><cms:pages> cycle, i suppose (hope, erroneously). Thanks.
I have a product which color is defined by a relation editable.
I would like to pass color to cart/cart-modal. I tried to define pp_color as empty editable, but had no luck setting it programmatically to pass to cart.
Is it that the only option is a cms:related_pages call, to find out color by page id?
Second question, please, how to find a page if it's masterpage is unknown? This also relates to cart, as I have products from 2 templates added at the same time to 1 cart. Looking for the right color for the product can lead me to tun <cms:templates><cms:pages> cycle, i suppose (hope, erroneously). Thanks.