Re: Restock Shelves and Image Machine with Toolkit
That parameter is always a variable for the product id (or product code, depending on the function you are using). This will always be different based on the context you are using it in.
To identify the correct variable name, look at the foreach iterator you are in. This will be the correct variable. Most of the time it will start wth l.all_settings then the iterator you are within, then a colon and the :id or :code.
In this case since your iterator is "item" it looks like this:
l.all_settings:item:code
Check the videos on the Miva Template Language:
http://www.miva.com/videos/category/...raining-series
Announcement
Collapse
No announcement yet.
Restock Shelves and Image Machine with Toolkit
Collapse
X
-
Re: Restock Shelves and Image Machine with Toolkit
I guess one follow-up question, which is generic to Toolkit. Why do some of the examples show the different options like the ones below:
product_id
product:id
Is there a way to spit out a list of what options are available to the functions of toolkit (I know that is a tall order since there are a ton of functions). Or should I start familiarizing myself with the newer built-in functions of Miva in place of Toolkit?
Thanks for the insight and assistance.
Eldon
Leave a comment:
-
Re: Restock Shelves and Image Machine with Toolkit
Thank you Brennen! That did the trick!
Leave a comment:
-
Re: Restock Shelves and Image Machine with Toolkit
I don't see why the customimagec function would not work. Make sure toolkit is assigned to the page and make sure you're passing the correct variable for the product code:
Code:<mvt:item name="toolkit" param="customimagec|big|l.all_settings:item:code|" /> <mvt:if expr="g.big"> <img src="&mvt:global:imageroot;&mvte:global:big;"> </mvt:if>
Leave a comment:
-
Re: Restock Shelves and Image Machine with Toolkit
Anyone? Bueller?
Leave a comment:
-
Restock Shelves and Image Machine with Toolkit
I am trying to display the "main" image type (image machine) of products in the Restock Shelves abandoned basket email (RESTOCK_E). I have tried using the Toolkit customimage function along with other code with no success. Anyone have sample code I can use to make this happen?
Thank you for any insight.
Regards,
EldonTags: None
Leave a comment: