Upsell - Text only link

Adding upsell items to a product.
Post Reply
johnshackleton
Posts: 1
Joined: Wed Nov 09, 2005 10:03 am

Upsell - Text only link

Post by johnshackleton »

I have install Upsell and everything is functioning as it should.

However, I would like to remove the thumbnail image being displayed and have just the product name being a text link to trigger the pop up.

I've tried ticking the 'Text Link' option in the Extended Info tab and this works but still generates the image and product label, plus I will have to type in the Link Text each time.

Any ideas? Thanks in advance.

John
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Post by norman »

This can be done if you sacrifice the Extended Info Button (you won't be able to use this method of opening a popup on other pages - all other methods will still work however).

Replace Act_ExtendedInfoButton.html with

Code: Select all

<!-- Act_ExtendedInfoButton HTML begin -->
<!-- This template is used for the Extended Info button. -->

<a href="NETQUOTEVAR:LINK">

<!-- This template is used for the Extended Info button. -->
<!-- Act_ExtendedInfoButton HTML end -->
and use the following as Upsell_Secondary_ProductLine.html

Code: Select all

<!-- Upsell_Secondary_ProductLine HTML begin -->
<!-- Insert HTML for the top of the individual product -->
<!-- NETQUOTEVAR:INCLUDE Act_ProductSeparator.html -->
NETQUOTEVAR:ENDSEPARATOR
NETQUOTEVAR:PRODUCTFORMBEGIN

<script language=JavaScript>
<!--
inupsell = true;
// -->
</script>
<noscript><tr><td colspan=3></noscript>
<input type=hidden disabled name="PU_NETQUOTEVAR:PRODUCTREFERENCE">
    <a name="NETQUOTEVAR:PRODUCTANCHOR"><br></a>
    NETQUOTEVAR:TEMPLATEBEGINXML
    <center>
    <!-- NETQUOTEVAR:PRODUCTIMAGE  <br> -->
    <!--NETQUOTEVAR:PRODUCTREF
	NETQUOTEVAR:PRODUCTDESCRIPTION
  	NETQUOTEVAR:PRODUCTBEGINLINK
        NETQUOTEVAR:PRODUCTLINKTEXT
        NETQUOTEVAR:PRODUCTENDLINK
	NETQUOTEVAR:PRICEEXPLANATION
        NETQUOTEVAR:OTHERINFOPROMPT
        NETQUOTEVAR:DATEPROMPT
        NETQUOTEVAR:PRODUCTQUANTITY
        NETQUOTEVAR:ADDTOCARTBUTTON-->
    <span class="actxxsmall"><b>NETQUOTEVAR:EXTINFOBUTTONNETQUOTEVAR:PRODUCTNAME</a></b></span>
    <!--<b>NETQUOTEVAR:PRODUCTPRICE</b>-->
    <br>
    NETQUOTEVAR:EXTINFOLINK
    <br>
     NETQUOTEVAR:CARTERRORXML
     NETQUOTEVAR:TEMPLATEENDXML
   </center>
<noscript></td></tr></noscript>
NETQUOTEVAR:PRODUCTFORMEND
NETQUOTEVAR:NEXT
<!-- Insert HTML for the bottom of the individual product -->
<!-- Upsell_Secondary_ProductLine HTML end -->
Finally on your Upsell Products / Extended Information / Display By check Extended Info Button instead of the Clicking Product Image.

Finally you may want to tinker with the style of the <a href="NETQUOTEVAR:LINK"> within Act_ExtendedInfoButton.html.
Norman
Post Reply