View Single Post
  #45  
Old 09-18-2008, 12:16 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: The universal solution "Continue Shopping Button"

Quote:
Originally Posted by imexhouse
Yurij,

I went to skin1/main/product_details.tpl and commented out the part in red:

{if $product.forsale eq 'H'}
<TR>
{if $productids ne ''}<TD width="15" class="TableSubHead"><INPUT type="checkbox" value="Y" name="fields[categoryids]"></TD>{/if}
<TD class="FormButton" nowrap>{$lng.lbl_product_url}:</TD>
<TD class="ProductDetails">{$catalogs.customer}/product.php?productid={$product.productid}{*&cat={$product.categoryid}*}</TD>
</TR>
{/if}

It seems to work well, and I don't end up with the &cat=253 at the end of the url string.

Can anybody see any downside to this modification?


no, because:

product.php?productid=1111
<=>
product.php?productid=1111 &cat=0
<=>
product.php?productid=1111 &cat=0&page=0
Reply With Quote