VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: yan77 on April 19, 2020, 22:20:29 PM

Title: Shipment cost issue with downloadable items and physical products together
Post by: yan77 on April 19, 2020, 22:20:29 PM
Hi,
I have both physical products on my site as well as downloadable software products. I am using UPSP plugin for vitruemart for physical parts, which works perfect for those products. And I created a new shipment method for downloadable items as "Download" and set the weight information to 0, it works as it is supposed to be when customers add software on the chart, and when this shipment method comes up on the checkout, there is no shipment cost added as it is a downloadable item. The problem is, when a customer adds both physical products and downloadable SW products on the chart at the same time, then UPSP options along with the Download option comes up as available options, which the problem starts here. The problem is, when the customer choses "Download" option, the purchase can be executed successfully without adding shipping cost for physical products, so this is a kind of bug because customers can easily get away the shipment cost when they buy both SW and physical products together by selecting the "Download" option on the shipping method. 


What I need is, in a scenario where customers add both downloadable and physical parts on the chart, the "Download" method should not be displayed, so customers will have to be choosing one of the UPSP shipment methods. The "Download" option should show up only when there is only SW (downloadable) items on the chart. Could somebody help me on this ?
Thank you very much!
Title: Re: Shipment cost issue with downloadable items and physical products together
Post by: GJC Web Design on April 19, 2020, 22:59:31 PM
Has your UPSP plugin not got the later core options blocking categories etc on the first tab?
Title: Re: Shipment cost issue with downloadable items and physical products together
Post by: Studio 42 on April 19, 2020, 23:37:05 PM
Add a FREE shipment with weight = 0 only and all others with weight > 0.01
If you have set weight in all product except virtual products, then it work.
Title: Re: Shipment cost issue with downloadable items and physical products together
Post by: yan77 on April 20, 2020, 01:08:57 AM
Hi,
It is already what I did by adding free shipment for the downloadable items by setting the weight to 0, and leaving physical products for more than 0, but as I stated in my original message, this concept works for individual products. The problem occurs when you have both downloadable and physical products on the checkout, then it lists both downloadable item shipment option, which is "Free Shipment" as well as the other UPSP options as there are also physical products in the cart. And customers are able to select the free shipment in that case and make the purchase successfully for the entire cart without paying any shipment cost for physical products. That said, having UPSP plug in blocked for downloadable items would not help, as the problem occurs when both type of products are at the checkout.  I need a solution such as downloadable free shipment method does not appear at all when there are both type of products in the chart, it comes up only when customers buy downloadable items.
Title: Re: Shipment cost issue with downloadable items and physical products together
Post by: Studio 42 on April 20, 2020, 01:20:32 AM
You can set min and max weight in the shipment settings.
If you set max weight to 0.001 , then the FREE shipment is only displayed when you have only downloadable products.
Title: Re: Shipment cost issue with downloadable items and physical products together
Post by: yan77 on April 20, 2020, 01:49:26 AM
Hi,
this was a simple and smart solution! It worked, thank you!
Title: Re: Shipment cost issue with downloadable items and physical products together
Post by: pinochico on April 20, 2020, 08:02:07 AM
you are welcome :)