Hi,
In our product page I am trying to find a shortcut to help display some product images.
The product comes in two sizes and the image we are using for both on the site is the same.
Here's an example:
Product Code: FBP_1001
Description: Standard Size
Front Image: FBP_1001_front.jpg
Back Image: FBP_1001_back.gif
For the jumbo size the images are the same but the product code is FBP_1001_J.
Is there a way to use the code below for both products and if there is an "_J" in the Product Code have that stripped off? I have a work around but wanted to see if one or two lines of code would remedy this for me. This works fine for the standard size, just not for the jumbo size with "_J" in the Product Code.
<img src="/images/products/&mvt:crumb:code;/&mvt:product:code;_front.jpg" alt=""><br>
<img src="/images/products/&mvt:crumb:code;/&mvt:product:code;_back.gif" alt=""><br>
Also, I am already using the "Thumbnail Image" & "Full-sized Image" fields for category screens images.
Thanks in advance,
Mike
In our product page I am trying to find a shortcut to help display some product images.
The product comes in two sizes and the image we are using for both on the site is the same.
Here's an example:
Product Code: FBP_1001
Description: Standard Size
Front Image: FBP_1001_front.jpg
Back Image: FBP_1001_back.gif
For the jumbo size the images are the same but the product code is FBP_1001_J.
Is there a way to use the code below for both products and if there is an "_J" in the Product Code have that stripped off? I have a work around but wanted to see if one or two lines of code would remedy this for me. This works fine for the standard size, just not for the jumbo size with "_J" in the Product Code.
<img src="/images/products/&mvt:crumb:code;/&mvt:product:code;_front.jpg" alt=""><br>
<img src="/images/products/&mvt:crumb:code;/&mvt:product:code;_back.gif" alt=""><br>
Also, I am already using the "Thumbnail Image" & "Full-sized Image" fields for category screens images.
Thanks in advance,
Mike
Comment