Announcement

Collapse
No announcement yet.

Quick View Code - I'm Lost

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

  • Quick View Code - I'm Lost

    I got the KB article and added the code to my frame.html - then after getting completely lost I contacted support and they said "Oh - the KB article is wrong - where it refers to product LISTING page - it should refer to the CATEGORY pages"

    So - I went there. The change I made was in February of 2009 to force the customer to always go to the product listings page and change the words ADD TO CART to VIEW DETAIL.

    Jimmy helped me with it and it was a change to I think just one line.

    Later Jimmy helped me remove the thumbnail.asp code because I was convinced it was the reason my bandwidth was spiking.

    I haven't touched it since 2009 and all is working well - but of course I can't use any of the new features.

    Would anyone be wiling to tell me the exact thumbnail.asp code I need and where I should insert it in my category listings? I'll try to post the code as I have it now.
    C Ekman
    Owner/Designer: Cobweb Corner
    http://www.cobwebcorner.com

  • #2
    Here it is: (I had to remove the first section because of too many characters - I HOPE I removed the right parts)

    <table width="95%" cellspacing="0" cellpadding="2" border="0">

    <!--START: BODY_HEADER-->

    <tr><td>


    <!--START: ITEMS-->
    <form action="view_category.asp?cat=[catid]" method="post" name="frmsortby">
    <table width="100%" cellspacing="0" cellpadding="2" border="0">

    <tr>
    <td colspan="3" class="titles"> [category_Header-products] (Total Items: [productnumber])</td>
    <td colspan="2" class="titles" align="right">
    <!--START: sortbylist-->
    <select name="sortby" onchange="frmsortby.submit();" class="txtBoxStyle">
    [sortbylist]
    </select><!--END: sortbylist--></td></tr>


    <tr>
    <td colspan="5">

    <!--START: PAGING-->

    <table width="100%">
    <tr align="center">



    <td class="font2">
    [category_moreresults]
    <!--START: PREV-->
    <font size=1><a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=[prev]">[category_previouspage]</a></font>
    <!--END: PREV-->

    <!--START: PAGES-->
    <!--START: FIRST_PAGE-->
    <font size=1><a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=PAGE"><b>[PAGE]</b></a>...</font>
    <!--END: FIRST_PAGE-->
    <!--START: PAGES_SELECTED-->
    <font size=1><b>[PAGE]</b></font>
    <!--END: PAGES_SELECTED-->
    <!--START: PAGES_NOTSELECTED-->
    <a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=PAGE"><font size=1>PAGE</font></a>
    <!--END: PAGES_NOTSELECTED-->
    <!--START: LAST_PAGE-->
    <font size=1>...<a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=PAGE"><b>[PAGE]</b></a></font>
    <!--END: LAST_PAGE-->
    <!--END: PAGES-->
    <!--START: NEXT-->
    <font size=1><a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=[next]">[category_nextpage]</a></font>
    <!--END: NEXT-->
    </td>

    </tr>
    </table>
    <!--END: PAGING-->


    </td>
    </tr>

    <tr>
    <td colspan="5">

    <table border="0" cellspacing="0" cellpadding="5" width="100%" align="center">
    <!--START: CATEGORY_ITEMS-->




    <!--START: ITEM_TEMPLATE_0-->
    <table border="0" cellspacing="0" cellpadding="0" width="95%">
    <tr>
    <td colspan="2" align="center" valign="middle"><a href="product.asp?itemid=[catalogid]&catid=[catid]"><img src="[THUMBNAIL]" alt="[name]" border="0"></a></td>
    </tr>

    <tr valign="middle">
    <td colspan="2" class="item" align="center"><a href="product.asp?itemid=[catalogid]&catid=[catid]">[name]</a></td>
    </tr>

    <tr>
    <td class="price-info" valign="top" colspan="2" align="center">

    <!--START: ITEMPRICE-->
    <b>[product_yourprice] </b><span class="price">[ITEMPRICE]</span>
    <!--END: ITEMPRICE-->
    <!--START: SALEPRICE-->
    <table cellpadding="0" cellspacing="0"><tr><td class="price-info" nowrap="nowrap"><b>[product_yourprice] </b><s>[ITEMPRICE]</s></td></tr>
    <tr><td valign="top" nowrap="nowrap" class="price-info"><b>[product_onsale]: </b><span class="price">[ITEMSALEPRICE]</span></td><td> <img src="assets/templates/common/images/on_sale.png" /></td></tr>
    </table>
    <!--END: SALEPRICE-->
    </td>
    </tr>


    <tr>
    <td class="item" colspan="2" align="center" valign="middle"><a href="product.asp?itemid=[catalogid]">[category_buyitlink]</a></td>
    </tr>

    </table>
    <!--END: ITEM_TEMPLATE_0-->




    <!--START: ITEM_TEMPLATE_1-->
    <table border="0" cellspacing="5" cellpadding="0" width="100%">

    <tr><td width="15%"><span class="item"><b>[id]</b></span></td>
    <td width="55%" align="left" valign="middle"><a href="product.asp?itemid=[catalogid]&catid=[catid]">[name]</a></td>
    <td width="15%" align="right" valign="middle"><!--START: ITEMPRICE--><span class="price">[ITEMPRICE]</span> <!--END: ITEMPRICE--></td>
    <td width="15%" align="right" valign="middle"><a href="product.asp?itemid=[catalogid]">[category_buyitlink]</a> </td>
    </tr>

    </table>
    <!--END: ITEM_TEMPLATE_1-->

    <!--START: ITEM_TEMPLATE_2-->



    <table width="100%" cellpadding="4" cellspacing="0" border="0">
    <tr><td rowspan="5" width="100"><a href="product.asp?itemid=[catalogid]"><img src="[THUMBNAIL]" align="middle" border="0" alt="[name]" ></a></td><td><a href='product.asp?itemid=[catalogid]'>[name]</a></td></tr>

    <tr><td class="item">[description]</td></tr>
    <!--START: product_availability-->
    <tr><td class="item">[product_Header-availability]</b> [stock]</td></tr> <!--END: product_availability-->

    <tr><td>
    <table cellpadding="0" cellspacing="0">
    <!--START: freeshippingblock--><tr>
    <td class="item">[freeshipping] </td>
    </tr><!--END: freeshippingblock-->
    <tr><td>

    <!--START: ITEMPRICE-->
    <span class="price-info">[ITEMPRICE]</span>
    <!--END: ITEMPRICE-->
    <!--START: SALEPRICE-->
    <table><tr><td class="price-info"><s>[ITEMPRICE]</s></td></tr>
    <tr><td valign="top"><span class="price">[ITEMSALEPRICE]</span></td><td><img src="assets/templates/common/images/on_sale.png" /></td></tr>
    </table>
    <!--END: SALEPRICE-->
    </td></tr>


    <!--START: addtocart-->
    <tr>

    <td>
    <input type="button" onClick="window.location='product.asp?itemid=[catalogid]';" name="Add" value="[category_buyitlink]" class="btn" onMouseOver="this.className='btn_over'" onMouseOut="this.className='btn'">
    </td>

    </tr>
    <!--END: addtocart-->

    </table>
    </td></tr>


    </table>



    <!--END: ITEM_TEMPLATE_2-->





    <!--END: CATEGORY_ITEMS-->
    </table>


    </td>
    </tr>
    <tr>
    <td colspan="5" align="center"> </td>
    </tr>

    <tr align="center">
    <td colspan="5">


    <!--START: PAGING-->

    <table width="100%">
    <tr align="center">



    <td class="font2">
    [category_moreresults]
    <!--START: PREV-->
    <font size=1><a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=[prev]">[category_previouspage]</a></font>
    <!--END: PREV-->

    <!--START: PAGES-->
    <!--START: FIRST_PAGE-->
    <font size=1><a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=PAGE"><b>[PAGE]</b></a>...</font>
    <!--END: FIRST_PAGE-->
    <!--START: PAGES_SELECTED-->
    <font size=1><b>[PAGE]</b></font>
    <!--END: PAGES_SELECTED-->
    <!--START: PAGES_NOTSELECTED-->
    <a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=PAGE"><font size=1>PAGE</font></a>
    <!--END: PAGES_NOTSELECTED-->
    <!--START: LAST_PAGE-->
    <font size=1>...<a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=PAGE"><b>[PAGE]</b></a></font>
    <!--END: LAST_PAGE-->
    <!--END: PAGES-->
    <!--START: NEXT-->
    <font size=1><a href="view_category.asp?cat=[cat]&sortby=[sortby]&page=[next]">[category_nextpage]</a></font>
    <!--END: NEXT-->
    </td>

    </tr>
    </table>
    <!--END: PAGING-->


    </td>
    </tr>

    </table>

    </form>
    <!--END: ITEMS-->
    </td></tr>

    <!--START: CATEGORY_FOOTER-->

    <tr>
    <td class="data">[CONTENT]</td>
    </tr>

    <!--END: CATEGORY_FOOTER-->
    </table>
    C Ekman
    Owner/Designer: Cobweb Corner
    http://www.cobwebcorner.com

    Comment


    • #3
      Arghhhhhhhhhh - this is just embarassing. If this is too much to ask just say so.

      I have no idea what to put where and I can't afford to pay support. It's either ask or just forget about V4.0 so I thought I'd at least give it a try.

      I think I just need to replace one line to display the thumbnail image - but the KB article just gives a snippet of what that line should look like.

      If it is more involved than that - I'll just forget it - I don't want to overstep the 'help' booundaries.

      Thanks
      C Ekman
      Owner/Designer: Cobweb Corner
      http://www.cobwebcorner.com

      Comment


      • #4
        your problem is your not using the thumbnail.asp to generate your thumbnails...

        So here is what you need to do:

        Change:

        Code:
        <td colspan="2" align="center" valign="middle">
        <a href="product.asp?itemid=[catalogid]&catid=[catid]">
        <img src="[THUMBNAIL]" alt="[name]" border="0">
        </a></td>
        </tr>
        to:
        Code:
        <td colspan="2" align="center" valign="middle">
        <a href="product.asp?itemid=[catalogid]&catid=[catid]">
        <img src="thumbnail.asp?file=[THUMBNAIL]&maxx=100&maxy=0" border="0" alt="[name]"/>
        </a></td>
        </tr>
        The "maxx=100" is the width that you want your thumbnails, I looked at your site and it seems your using thumbnails that are 100px wide. If that's not the case you can make the adjustment to anything you desire... but keep in mind making it bigger then the actual thumbnail image will make it blurry.
        Last edited by NMTEACO; 08-10-2011, 06:14 AM.

        Comment


        • #5
          Thank you! As soon as I get my orders filled today I will try this. If it works I'll facebook your store today - I happen to love tea but stopped drinking it when we got our Keurig - now I'm drinking way too much coffee.

          I truly appreciate your taking the time to look at this. I'm anxious to see what results I get after reading all of the other posts.
          C Ekman
          Owner/Designer: Cobweb Corner
          http://www.cobwebcorner.com

          Comment


          • #6
            Is there a way to enter a comment?

            When I was a programmer every change I made had three comment lines.

            "Name of programmer"
            "Change Date"
            "Reason for change"

            If I could do this in my templates I would know two years from now what I changed and why.

            Thanks for any info
            C Ekman
            Owner/Designer: Cobweb Corner
            http://www.cobwebcorner.com

            Comment


            • #7
              Well I changed the code as suggested - still does nothing.

              I've updated the Frame.html
              Turned on the QuickView option
              Changed the code as described above

              Submitted ticket to support. We'll see what happens next. Thanks
              C Ekman
              Owner/Designer: Cobweb Corner
              http://www.cobwebcorner.com

              Comment

              Working...
              X