Support multiple Collection Page/Recommendations Discount blocks per page
complete
Tobe Osakwe
Some stores have multiple featured collections or product recommendations sections in their product template.
In these cases, usually, 1 of the sections is for "related products," while the other is for "complementary products."
However, the way the Recommendations Discount app block currently works, there can only be 1 on the page.
We are considering updating this app block to support being added multiple times to the page, but this will require a significant rewrite of the code, so we'd like to make sure there is high enough demand before doing this.
If you'd like us to add this to our app, please upvote and comment on this thread.
We prioritize which features to add based on the number of upvotes.
Tobe Osakwe
complete
We now have a document on how to use multiple recommendations discount blocks per page:
https://regiostech.crisp.help/en/article/setting-up-multiple-recommendations-discount-blocks-per-page-1cuycqj
Therefore, we are marking this ticket as complete.
Unfortunately, there is no way to do this without custom coding to add the
data-regios-dopp-collection (or product-recommendations)-block-key
attribute. There's just no other way for our app to know which element on the page corresponds with an entire collection otherwise.Tobe Osakwe
planned
Hi everyone,
We wanted to inform you that we are putting all work on new features on hold indefinitely. Our primary focus at this time is to enhance our customer support experience. This includes training additional support staff and improving our self-serve support resources to better assist you.
We understand that new features are important, but ensuring a seamless support experience is our top priority. We appreciate your understanding and patience during this period.
Thank you for your continued support.
Best regards,
Tobe Osakwe
Tobe Osakwe
We have now created a text and video tutorial about how to set up multiple "Collection Page Discount" blocks per page:
Tobe Osakwe
In ~30 minutes when this update goes live, both the "Collection Page Discount" and "Recommendations Discount" app blocks will have an optional "Unique key" setting.
If you are using multiple copies of each block on your page, then each copy needs its own unique value for this setting.
In addition, the container element for where you want each block to apply discounts MUST have the
data-regios-dopp-collection-block-key
or data-regios-dopp-product-recommendations-block-key
set to that key.Otherwise, there is simply no way for our app to guess where you want discounts to appear. This is because every theme is different, and many stores are in different languages as well, so there is no single way that works across all sites.
We will create a helpdesk article explaining the setup when this feature is fully released.
The reason we haven't fully released it yet, is that so far, no theme I've seen (I've checked both Dawn and Enterprise) offers a way for you to edit the HTML attributes of "Featured collections" or "Related products" section.
You would have to edit the Liquid source code of the sections yourself (or get a 3rd party developer).
There is not really a possible workaround for this.
So, at this time, using multiple collection/recommendations blocks requires custom coding.
Tobe Osakwe
in progress
A
Andres Sirel
Yes, this would be a very necessary update. For example our template Enterprise can show multiple featured collection blocks and currently it doesn't show the discount in those sections.
S
Samuel Rochefort
Andres Sirel Same thing for us I think this is a must for newer themes
Tobe Osakwe
planned