Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

removing links to shopping cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-01-2008, 12:54 PM
 
jbvideo jbvideo is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 73
 

Default removing links to shopping cart

I'm actually not using X-Cart as a shopping cart system ... so I need to remove all the links that lead to the shopping cart.

(I'm also not much of a coder)

I have successfully commented out the mini cart and the auth box from home.tpl

but on the product.tpl I need to remove everything below the long description (but above the upselling links)

on my site this includes the label that says Details and the info below it (SKU and price) as well as the Options label and the text below it that says Quantity with the drop down box. And the Add to Cart Button.

I dont want to remove this informaiton in case I do need it in the future... I just want to comment it out ... but I'm not doing something right because it's just not working for me.

Thanks in advance,
__________________
Sharon
vers. gold 4.0.17 to 4.1.10 (july 2008 )
Reply With Quote
  #2  
Old 02-01-2008, 09:05 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: removing links to shopping cart

This is taken from a fresh install of 4.1.9... perhaps this may help.

Remember to back up the page just in case.

Locate the table (around line 51) with {$lng.lbl_details} inside it and put a comment before it as such...

{* <table width="100%" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><b><font class="ProductDetailsTitle">{$lng.lbl_details}

then locate (around line 203) the second to last </table> tag (just after spotting the Feature_Comparison module inclusion) and add the end comment as such...

</td>
</tr></table> *}
</td>
</tr>
</table>

If you wish to remove the form functionality as well, then below this there is some <inputs> and an ending </form> tag you can comment out. Then go back to the top (around line 11) and there is a beginning <form> tag - comment that out too.

Hope this helps.
Regards,
Doms
__________________
Doms
kube v4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:17 AM.

   

 
X-Cart forums © 2001-2020