Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

PaulP
Advanced Member

USA
211 Posts

Posted - 01/11/2024 :  18:42:33  
Hello,
I'm trying to setup stock management, so when the product is sold the number will decrease after checkout.
I turned on stock management in the main settings but after the sale it stays the same.

I must be missing some other script for the includes page but I can't seem to find it on the site.

Any help would be appreciated.

Yours Truly,
Paul P.
Longtime ECT Customer

Vince
Administrator

42688 Posts

Posted - 01/12/2024 :  01:03:06  
Hi Paul
Normally all you need to do is turn on stock management in the store admin. But could it be possible that the product has stock set by the options in which case it's the option stock that is reduced?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

PaulP
Advanced Member

USA
211 Posts

Posted - 01/12/2024 :  06:02:43  
Hi Vince,
Thank you for your reply.

There is no options set for the item.

Yours Truly,
Paul P.
Longtime ECT Customer

PaulP
Advanced Member

USA
211 Posts

Posted - 01/12/2024 :  06:36:23  
Hi Vince,

If I add this line $productpagelayout='instock'; to the vsadmin/includes.php page will this turn on the product in stock counter that will decrease when there is a sale of the item?

Yours Truly,
Paul P.
Longtime ECT Customer

Vince
Administrator

42688 Posts

Posted - 01/13/2024 :  02:13:19  
Hi Paul
What that would do is display the current stock level on your product pages. And as it is the only element in the $productpagelayout list that is all you would get for each product.
When you test your purchase are you going all the way to the "thanks" page? It's not when products are added to cart that stock is reduced but when you complete payment.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000