Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STS and qty in product desc


zxedxz

Recommended Posts

Anyone know how?

 

The easy way is to add it directly to the /catalog/product_info.php, disable any product_info templates you have in sts_templates and not use the STS product info at all. The hard way is to define a new STS tag for that hunk o code. Check out the readme.

 

Iggy

Everything's funny but nothing's a joke...

Link to comment
Share on other sites

Fount it already, thanks.

 

What I did was use the qty field contribution and added this line to the sts_product_info.php file.

 

$template['quantity'] = TEXT_QUANTITY . tep_draw_input_field('quantity', '1', 'SIZE=2 maxlength=2') . tep_draw_separator('pixel_trans.gif', '5', '1') . tep_draw_hidden_field('products_id', $product_info['products_id']);

 

 

It works, but I wonder if it is efficient this way?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...