Announcement

Collapse
No announcement yet.

Related product links to extended info pages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Related product links to extended info pages

    First of all I would like to say that with the help of the forum search facility and all those previous posters and a lot of trial and error I have managed to get my 'related products' set up on my extended info pages in the format I wanted. I have also managed to ensure they only appear on the extended info pages as well.

    The only thing I cannot seem to get to work even after searching and following the advice in the A.U.G is the ability to link the 'related product' item to the extended info page.

    Appologies if this is very simple but I have no html knowledge.

    The code I am trying to amend is :-

    HTML Code:
    <p class="text_product_small_info_heading"><actinic:variable name="ProductName" /></p>
       <div class="product_image_cost">
          <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22">
    			<a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">
    				<img style="border: 0;" src="<actinic:variable name="ProductImageFileName" />" width="75" alt="<actinic:variable name="ProductName" encoding="strip"/>" />
    			</a>
          </actinic:block>
       </div>
       <div>
          <p class="text_product_small_info_price">
          <Actinic:PRICES PROD_REF="<actinic:variable Name="ProductID" />" RETAIL_PRICE_PROMPT="<Actinic:Variable Name="ProductPriceDescription"/>">
             <actinic:variable value="Marketing Price List" name="PriceListRetail" />
          </Actinic:PRICES>
          </p>
          <p class="text_product_small_info"><actinic:variable name="ProductDescription" /><br>
          <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">find out more</a></p>
       </div>
    Any help or pointers will be appreciated.


    http://www.quantumelectronics.co.uk/...nema_1010.html
    www.quantumAV.co.uk
    Home Cinema Receivers and Speakers for Audio Visual Entertainment
    Authorised Dealers for Yamaha/ Monitor Audio/ Kef/ Onkyo/ Marantz/ Denon/ and more..

    #2
    <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />
    Try changing the link to use the same link as products use to the extended information pages - i.e. use the variable ExtendedInfoPageName

    Comment


      #3
      Thanks Chris, it didn't quite work but it nearly got there. With a little trial and error using your idea I managed to get the following to work.

      I changed :-

      HTML Code:
      <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">
      to :-
      HTML Code:
      <a href="<actinic:variable name="ExtendedInfoPageName" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">
      It works as I wanted it to do, the only problem being that with my fairly non-existant HTML knowledge I don't know whether I have effected anything else with the code I have removed after changing the variable name!
      www.quantumAV.co.uk
      Home Cinema Receivers and Speakers for Audio Visual Entertainment
      Authorised Dealers for Yamaha/ Monitor Audio/ Kef/ Onkyo/ Marantz/ Denon/ and more..

      Comment

      Working...
      X