Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add Available quantity on product page?


sergiojg

Recommended Posts

echo $product_info['products_quantity']

 

where you want it to show up

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

echo 'Available Quantity ' . $product_info['products_quantity'];

 

on a separate line, you need the ; to end the line

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Hi, can you give me a little more info on this?

In what file and where do I punt this code?

I'm using osc 2.3.4 bootstrap and am having troubles adding stock levels. The standard admin options dont seem to work.

I would like to show green/orange/red stock bars next to the product.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...