X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   wishlist error (https://forum.x-cart.com/showthread.php?t=12446)

kirsten 02-26-2005 05:35 PM

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

hooter 02-26-2005 06:03 PM

kirsten,
Did you add this part?
Code:

Productid

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}

kirsten 02-26-2005 06:06 PM

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 02-26-2005 06:17 PM

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

balinor 02-26-2005 07:11 PM

Take a look at the original template in skin1_original to see what it is supposed to look like :)

kirsten 02-26-2005 11:16 PM

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

balinor 02-27-2005 04:19 AM

buttons/detail.tpl

kirsten 02-27-2005 04:32 AM

Thanx balinor it is now fixed :D


All times are GMT -8. The time now is 12:40 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.