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

Add to Wish List

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-04-2005, 06:07 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default Add to Wish List

Is there a way to make the add to Wish List button option only appear on the product details pages??
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #2  
Old 03-04-2005, 07:02 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Yep, comment it out wherever you don't want it
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-04-2005, 07:09 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

What is the difference between the products.tpl and the products_t.tpl?
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #4  
Old 03-05-2005, 05:04 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Products.tpl is for a single column product layout (one product per row), products_t.tpl is for multiple columns
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-10-2005, 03:55 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

Okay I have just been looking at this topic again, I have looked at my products_t.tpl and products.tpl and I can see no reference to the wishlist being called only buy now

On the product.tpl I can see the wishlist being called but I don't want to cut it out of the product details page I only want to have it cut out and not shown on the products.tpl and the products_t.tpl,

Is there a way around this? Or am I looking for it in the wrong place?

Thanx
Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #6  
Old 03-10-2005, 04:48 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That is because add to wishlist is IN buy_now.tpl Comment out this bunch of code:

Code:
{include file="buttons/add_to_wishlist.tpl" style="button" href="javascript:document.orderform_`$product.productid`_`$product.add_date`.mode.value='add2wl'; document.orderform_`$product.productid`_`$product.add_date`.submit()"}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 03-10-2005, 10:10 PM
 
kirsten kirsten is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Sydney, Australia
Posts: 104
 

Default

Thanx Balinor,
I did as you suggested and commented out that bunch of code however the add to wishlist button and option is still appearing on my web site when I am logged in as a customer on the products pages and featured products pages which I DO NOT WANT
I will paste here my buy_ now.tpl so you can see if I have done anything wrong or if I should in fact comment out something else as well

Having said all of that I was about to paste a copy of my buy_now .tpl here to you and I noticed that further down in the tpl there was indeed another section that was coded exactly the same so I commented out that as well and HEY PRESTO IT WORKED!!!

So yet another small thing I have sorted out on my site in order to get things working how I think they should,

No doubt I will be posting yet another small obvious issue here in this forum but for me sometimes these are not so obvious and I have my reasons why I want things to be changed

Thanx for your reply and advice

Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
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 12:30 AM.

   

 
X-Cart forums © 2001-2020