Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What's New For the Month Box


pimpton

Recommended Posts

How can products be remove from this box automatically when the product quanity is zero? Is it possible to add more attributes to this box? I would like to add a buy button under the price of the product.

 

Thanks for the help to any of the questions above.

Link to comment
Share on other sites

use WHERE clause in query...for eg

where products_price !=0

and to add buy button put this where u need the button

<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $new_products['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a>
Simple Add-ons Please add simple plain tips here for others.
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...