subproduct a subproduct of itself?
Posted: Tue Feb 02, 2021 1:56 pm
Hello all,
ShopSite® Pro 14.0 r3.1
I use a custom template (purchased long ago) but I am not an HTML person.
Trying to find out if there is a way to detect if a subproduct is a subproduct of itself. Hopefully some IF statements that I can insert.
Example page:
https://www.pumpvendor.com/Sherwood_G907P_G-907P.html
The first sub on this page is of course a sub of itself but I do not want the "Product Details" link to be displayed because it just links back to this same page and customers complain the site is broken.
The other 3 subs on this page I do want the "Product Details link to be displayed.
The current code in the [--DEFINE SUBPRODUCT--] section of my template:
[-- IF Product.DisplayMoreInformationPage --]
<br><a href="[-- Product.MoreInfoURL --]"><strong>Product Details</strong></a><br>
Thanks in advance for any help with this!
Dave
ShopSite® Pro 14.0 r3.1
I use a custom template (purchased long ago) but I am not an HTML person.
Trying to find out if there is a way to detect if a subproduct is a subproduct of itself. Hopefully some IF statements that I can insert.
Example page:
https://www.pumpvendor.com/Sherwood_G907P_G-907P.html
The first sub on this page is of course a sub of itself but I do not want the "Product Details" link to be displayed because it just links back to this same page and customers complain the site is broken.
The other 3 subs on this page I do want the "Product Details link to be displayed.
The current code in the [--DEFINE SUBPRODUCT--] section of my template:
[-- IF Product.DisplayMoreInformationPage --]
<br><a href="[-- Product.MoreInfoURL --]"><strong>Product Details</strong></a><br>
Thanks in advance for any help with this!
Dave