Wrong variant being added to cart

herstudio
New Member
1 0 0

This question has been asked a few times, and each time the answer is different. I've tried them all, but none of the solutions seem to be a good solution for the store: https://thenapco.com/

 

On a few of the products, when a size is out of stock it throws the whole product off. 

Eg. Small is out of stock, but when a large is added to a cart it changes to a medium automatically.

 

I am assuming it is due to a code conflict, but I'm unable to find the code that could be causing this.

 

We've found a temporary solution by deleting the faulty product, and reuploading, but that doesn't fix the issue permanently, and means we lose all the analytics data every time the product is deleted.

 

This is one of the products an issue was found: https://www.thenapco.com/collections/nightwear/products/satin-stripe-pyjama-short-set-nude-1?variant...

 

Deleting the Small variant that has stock of 0 has solved the problem, this doesn't solve the issue in the long run.

 

Any assistance is appreciated.

 

Reply 1 (1)
hawkscode
Shopify Partner
74 15 13

Hi @herstudio 

 

i can fix it 

pelase hire me 



If helpful, please Like and Accept Solution.
if you Want to modify or Customize your theme ,
- Feel free to contact me on vikash.hawkscode@gmail.com regarding any help
- Skype : vikas.hawkscode