Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Buy Now button broken on specials page


oldschoo

Recommended Posts

Posted

Most of my products have attributes. If I understand correctly, when a product has attributes, and you click on the buy now button, it takes you to the product info page.

 

Mine takes you to the product listing page for that category.

 

http://houseofrays.com/shop/specials.php?o...a08a683d836ea3b

" target="_blank">

http://houseofrays.com/shop/specials.php?o...a08a683d836ea3b

 

 

What do I need to change on the specials page. This is the section on buy now

<td align="center" width="33%" class="smallText"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $specials['products_image'], $specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><b><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '">' . $specials['products_name'] . '</a></b><br><br>' . strip_tags($description['products_description']) . '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']). '">' . DESCR_READ_MORE . '</a><br><s>' . $currencies->display_price($specials['products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . '</s><br><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $specials['products_id']) . '">' . tep_image_button('cart_buy.gif', IMAGE_BUTTON_IN_CART) . '</a> <b><span class="productSpecialPrice">' . $currencies->display_price($specials['specials_new_products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . '</span></b></td>' . "\n";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...