Developer forum
E-mail notifications
Locking eComm paragraph to list view
I'm working on a pure ecommerce solution, which has a product list available in a megamenu. In the markup, it merely links to global paragraphs with the eComm-module (and the pages do of course have product lists of their own). This is all well and good, but if I click on a specific product to see the product details, the list in the menu will of course either show the product template (if one is specified) or nothing at all.
Now, what would be neat, is a module setting, which effectively "locks" the paragraph to always show the list template. As far as I know, the only way to accomplish this today, is by AJAX-fetching it.
Replies
Here's another use case:
I'm working on a solution, with only one "step" in the product flow. There is no detail view as such (actually there is, but it will be pulled via AJAX, so the user never leaves the view).
This works fine, right untill you implement the search module. Because you cannot control the search result href, it will build a link with the "ProductID"-parameter. Due to this, instead of showing the product list, the system will attempt to show a detail view, even if none is specified.
Since I can't control the link itelf, and since I can't stop the product page from trying to access a product template which does not exist, I will need to use Javascript to split and rebuild the link on the search page, before I can use it.
Am I the only one who thinks it would be useful with a one step product flow?