Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Hello There,

 

Im desesperatly searching for this and cannot figure it out after like 2 weeks (lol :D)

 

Im looking for the command that is calling stock level per attribut...with QT Pro

 

The Standard command to call the overall stock quantity for a product is

 

<?php echo tep_get_products_stock($product_info['products_id']); ?>

 

I just cannot find out how to call the stock quantity of each attributs from "Products_Stock" DB table (wich is used by QT Pro for attribute quantities) instead of overall quantity from "produts" DB table

 

I need it for my product_info page, and i don't think i have any other code to add except that command.

 

Just cannot figure how to write it....

 

Is anyone able to help me out writing that php echo tep_get_products_stock ???

 

Thank you

Edited by Lgn.Magic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...