Announcement

Collapse
No announcement yet.

Advanced [LINK] Function

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

    Advanced [LINK] Function

    I have created a cut down product template showing just the "Product Name", "Price" and "Add to Cart" functions ... this is to be used in conjunction with duplicate products as an upsell type arrangement.

    A link through to the product proper would be desirable for extra / full information. The [LINK] facility requires the product description field into which it places the text for the link... this field has been quoted out for reasons of layout / aesthetics.

    I could add a small image into the "Product Name" field or as a last resort add the "Description" field back in and mess my lovely layout

    Any other suggestions or ideas on how to link the duplicate back to the original with only the 3 fields stated above? As ever I may be trying to over complicate things by attempting to keep it as simple as possible

    TIA

    v7.0.4


    Bikster
    SellerDeck Designs and Responsive Themes

    #2
    You could try using (undocumented) NETQUOTEVAR:PRODUCTREFERENCE that contains the ref of the original to form a link via a SearchScript type URL.

    E.g., somewhere in yout Product Template that you use for these Duplicates.

    <a href="http://www.myserver.com/cgi-bin/ss00000x.pl?PRODREF=NETQUOTEVAR:PRODUCTREFERENCE&ACTINIC_REFERRER=http://www.myserver.com/acatalog/&NOLOGIN=1">Click here</a>

    You need to change the www.myserver.com and the ss00000x.pl to suit your system.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman,

      as much as I loathe CUSTOMVAR's and after a bit of tinkering I am probably going to use CSS to insert a small graphic as part of the "Product Name" and use a CMV to insert the URL - as the site is using 1 product per page and no customer accounts a basic URL will suffice and without the cgi-bin path.


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        In case you or someone else needs this - I tested my suggestion above and it worked fine.

        It is also possible to use this on the default Product Template with a bit of extra code that inhibits the display of the link if the displayed product isn't a Duplicate.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Kneels in humble respect ... with more than 4 hours sleep looked at this again and in a rare moment of clarity Norman's solution is the most elegant.

          Thanks again Norman


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            Jonty, I will join you in genuflection at Norman's feet. He has solved my linking problem from This thread
            http://www.phoenix-pcs.co.uk

            Comment

            Working...
            X