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

wishlist error

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-26-2005, 05:35 PM
 
kirsten kirsten is offline
 

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

Default wishlist error

I have an error coming up when a customer is logged in and uses the add to wishlist function, the product is added however there is a fatal error on the screen
Quote:
Fatal error: Smarty error: [in buttons/details.tpl line 1]: syntax error: invalid attribute name: '/www/clientweb/au/s/silverimports.com.au/shop/Smarty-2.6.3/Smarty.class.php on line 1082

I had a look at my buttons/details.tpl and this is what I have

Quote:
{include file="buttons/button.tpl" button_title=$lng.lbl_details href=$href title=$title style=$style

Productid}

Can anyone help me fix this problem?

Thanx
Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #2  
Old 02-26-2005, 06:03 PM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

kirsten,
Did you add this part?
Code:

Shouldn't be there. Your buttons/detail.tpl should only have this:
Code:
{include file="buttons/button.tpl" button_title=$lng.lbl_details href=$href title=$title style=$style}
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #3  
Old 02-26-2005, 06:06 PM
 
kirsten kirsten is offline
 

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

Default

I cannot remeber adding that part???

But you never know I have added and made many mistakes so perhaps I did???

I will adjust the template now to what you said and see what happens

thanx
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #4  
Old 02-26-2005, 06:17 PM
 
kirsten kirsten is offline
 

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

Default

Well I adjusted that part you said bit now have another issue???

I have this coming up on my wishlist page underneath the pricing and update buttons

Quote:
{include file="buttons/button.tpl" button_title=$lng.lbl_details href=$href title=$title style=$style Add to Cart Delete item


Is it because there is something missing like one of those } at the end of this code??

How should I fix this?

Thanx
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #5  
Old 02-26-2005, 07:11 PM
 
balinor balinor is offline
 

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

Default

Take a look at the original template in skin1_original to see what it is supposed to look like
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 02-26-2005, 11:16 PM
 
kirsten kirsten is offline
 

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

Default

Okay I may be having a totally blonde moment here but which template did you mean exactly???

I loaded the demo site of xcart gold and have checked some tpls that I thought may be causing this against mine but have found none of them different???

So maybe I am just checking the wrong templates??

I have checked
/modules/Wishlist/wl_buttons.tpl
/modules/Wishlist/wishlist.tpl
/modules/Wishlist/wl_products.tpl
/buttons/add_to_wishlist.tpl
/buttons/button.tpl
And they are all the same as the demo admin ones -

What template should I look at to correct this error?

Thanx
Kirsten
__________________
Kirsten
X_Cart Gold Version 4.0.11
www.silverimports.com.au
www.diamondimports.com.au
Reply With Quote
  #7  
Old 02-27-2005, 04:19 AM
 
balinor balinor is offline
 

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

Default

buttons/detail.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 02-27-2005, 04:32 AM
 
kirsten kirsten is offline
 

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

Default

Thanx balinor it is now fixed
__________________
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 04:55 AM.

   

 
X-Cart forums © 2001-2020