Jump to content

Stock quantities do not show - please check my code?


dixie

Recommended Posts

I have used PS version 1.4.6 with no problems, however, I started fresh with a new download of 1.4.7 and now have a problem getting my stock quantities to show. I don't really know code, so can someone please tell me what is wrong? I have been trying to figure this out for days. I hope someone can please help me with this. Thank you so much! Dixie stitchbin.com

 

 

 

 

<p id="availability_statut" style="display: none;">

<span id="availability_label">Availability:</span>

<span id="availability_value"> </span>

</p>

<p id="pQuantityAvailable">

<span id="quantityAvailable">11</span>

<span id="quantityAvailableTxt" style="display: none;">item in stock</span>

<span id="quantityAvailableTxtMultiple">items in stock</span>

</p>

<p id="oosHook" style="display: none;"></p>

Link to comment
Share on other sites

  • 1 year later...

My answer gonna be same like you question, i mean not clear enough.

 

1. Enable debug in defines.inc.php (not sure but you need find defines and do this:

define('_PS_MODE_DEV_', true);

)

 

In admin section enable smarty Debug.

 

So from there u can see some errors or which values of variables is missed.

 

And of course check console of javascript, if you use Chrome press f12 and click Console to see some information.

 

Anyway if you stuck always can find someone who help you for small amount of € or $ :) like me for example.

 

Pm me if you still interested.

 

Good luck.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...