Announcement
Collapse
No announcement yet.
How do you make the EmporiumPlus Next/Previous function short link friendly?
Collapse
X
-
Can you post the solution once you come up with it in RJRSSJ (run Jane run see spot jump)?
-
The store owner wants the customer to be able to proceed in a code ascending manner. Sold out products can be hidden if needed.
Leave a comment:
-
I just thought it may be a good idea when a customer proceeds to the next in-stock product only. For example in a collectible store, the rate of out of stock products is significantly higher that most online stores. Could you imagine moving to the next product only to find that is sold out, again and again, ....
Leave a comment:
-
Originally posted by William Davis View PostIt might be a good idea to only include next product in-stock.
Leave a comment:
-
It might be a good idea to only include next product in-stock.
Leave a comment:
-
How do you make the EmporiumPlus Next/Previous function short link friendly?
The description for the Next/Previous buttons function is "go to the next or previous product in the same category". The code includes the category code
Code:<mvt:item name="toolkit" param="nextprevious|l.all_settings:product:code" /> <mvt:if expr="l.settings:tkskip:previous"> <a href="&mvte:global:sessionurl;Screen=PROD&Product_Code=&mvte:tkskip:previous;&Category_Code=&mvte:global:Category_Code;"> <strong><<< Previous Product</strong></a> </mvt:if> <mvt:if expr="l.settings:tkskip:next"> <a href="&mvte:global:sessionurl;Screen=PROD&Product_Code=&mvte:tkskip:next;&Category_Code=&mvte:global:Category_Code;"> <strong>Next Product >>></strong></a> </mvt:if>
Code:<div class="column whole"> <div class="row"> <div class="column half left"> <mvt:item name="toolkit" param="nextprevious|l.all_settings:product:code" /> <mvt:if expr="l.settings:tkskip:previous"> <a href="/p_&mvte:tkskip:previous;.html"> <strong><<< Previous Product</strong></a> </mvt:if> </div> <div class="column half right"> <mvt:if expr="l.settings:tkskip:next"> <a href="/p_&mvte:tkskip:next;.html"> <strong>Next Product >>></strong></a> </mvt:if> </div> </div> </div>
With that said, I have tried both the original snippet and my short link friendly version and the previous and next items are still not the correct items. What determines the previous and next items using this snippet? It doesn't seem to follow what the items are even with the original snippet. The products are sorted by code ascending both by the category template and in the store admin.
Tags: None
Leave a comment: