View Single Post
  #9  
Old 11-20-2008, 06:54 AM
  Madhatterr's Avatar 
Madhatterr Madhatterr is offline
 

eXpert
  
Join Date: Jan 2007
Posts: 202
 

Exclamation Re: Problem with buy now / add to cart buttons

Quote:
Originally Posted by PhilJ
In skin1/customer/main/buy_now.tpl

Add...

Code:
name="orderform_{$product.productid}_{$product.add_date}"

To the <form> tag... then the buttons will function.

eg.
Code:
<form name="orderform_{$product.productid}_{$product.add_date}" method="post" action="{if $product.is_product_options eq 'Y' && !$buynow_enabled}product.php?productid={$product.productid}{else}cart.php?mode=add{/if}">

As for the button styling, you've changed the doctype to transitional, which might affect the appearance. I think more urgent, is the layout doesn't look correct in IE6.

Well,

Out of no where it seems our buy it now button isn't doing anything either. I found this post and checked to see if we had the code you suggested and ... we do. So, I guess my question is, do you have any other suggestions on what I might check to see if it's not right?

Thanks in advance for your help!
__________________
DeAnna Ross
http://madhatterrgames.com [v.4.1.8] Fashion Template
http://www.hortonstores.com [v.4.1.12] Fashion Mosaic Skin
http://teststore.hortonstores.com [v.4.2.2] Fashion Mosaic Skin TEST STORE - NOT FOR ACTUAL SHOPPING!
Reply With Quote