Jump to content

[BUGFIX] No shipping for virtual products with attributes

Burhan BVK

Recommended Posts

There is a bug in Prestashop 1.4 that causes virtual products to require shipping in certain cases. When the following happens the customer is forced to select a carrier with shipping costs:
- You have virtual products with attributes.
- The same virtual product is added at leats two times selecting different attributes.
- Then shipping will appear even if all products are virtual.

This is caused by a bug in Cart class, isVirtualCart function. Attached is a fixed file for 1.4.3. You need to manually copy the isVirtualCart function for other versions.


Link to comment
Share on other sites

  • 1 year later...

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...