VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: titolin10 on December 09, 2017, 08:58:51 AM

Title: How to collect shipping cost per product during checkout
Post by: titolin10 on December 09, 2017, 08:58:51 AM
Hello,

I want to collect all shipping costs during checkout


For example:

I setup shipping method with "Shipment Cost" value = $10 per product


If customer purchased 3 items then I need to show shipping cost in cart = $30


How do I do that ?
Title: Re: How to collect shipping cost per product during checkout
Post by: titolin10 on December 09, 2017, 08:59:46 AM
Quote from: titolin10 on December 09, 2017, 08:58:51 AM
Hello,

I want to collect all shipping costs during checkout


For example:

I setup shipping method with "Shipment Cost" value = $10 per product


If customer purchased 3 items then I need to show shipping cost in cart = $30


How do I do that ?

Joomla 3.8.2
VM 3.2.6
Title: Re: How to collect shipping cost per product during checkout
Post by: titolin10 on December 09, 2017, 09:35:44 AM
Now My VM is 3.2.8 after update
Title: Re: How to collect shipping cost per product during checkout
Post by: Jörgen on December 09, 2017, 11:12:29 AM
Hello
There maybe a plugin for this, i think alatak has done something for this.
If you only aim to sell a reasonable amount of products. This could be a solution. Create a standard shipping for 1 .. 1 products another for 2 ..2 products and so on. A maximum number of products may be for example 15 and this would cover anything above 10 products cloning shipments makes it easy to create new ones. You could of course instead create a new shipment plugin starting with the standard as start, but this is a bigger project.
Regards
Jörgen @  Kreativ Fotografi
Title: Re: How to collect shipping cost per product during checkout
Post by: jenkinhill on December 09, 2017, 11:15:36 AM
This plugin can handle a price per item:  https://open-tools.net/virtuemart/shipping-by-rules.html
Title: Re: How to collect shipping cost per product during checkout
Post by: titolin10 on December 09, 2017, 15:57:26 PM
Hello friends

Is there an easy way to do it without complications?


The number of products I publish on my website is more than 400 item until now.
Title: Re: How to collect shipping cost per product during checkout
Post by: Jörgen on December 09, 2017, 16:15:03 PM
Don' t get what you mean I have over 2500 products. You do not change the products, you a shipment option. It work regardless of how many products your shop has. Jenkins gave a link to a free extension. I proposed some work with the standard option, based on how many products you will put in cart. If you think your customer will put 400 products in cart and pay $4000 in shipment, then is my suggestion no way to go. But if you think that they will only buy 10 products at a time, then i would use suggestion. You can always use the free extension suggested.
Regards
Jörgen @ Kreativ Fotografi
Title: Re: How to collect shipping cost per product during checkout
Post by: titolin10 on December 09, 2017, 20:36:10 PM
Hello Jörgen

I agree with you, No one will add 400 item to the cart even if shipping for free  ;D ;D ;D ;D


Simply I used this useful plugin with these rules:

Articles==1;  Shipping=10;
Articles==2;  Shipping=20;
Articles==3;  Shipping=30;
Articles==4;  Shipping=40;
Articles==5;  Shipping=50;
Articles==6;  Shipping=60;
Articles==7;  Shipping=70;
Articles==8;  Shipping=80;
Articles==9;  Shipping=90;
Articles==10;  Shipping=100;

Articles>=11;  Message="Please contact us for shipping fees details";



Is it correct or there is another rule to stop repeat inputs ?



Title: Re: How to collect shipping cost per product during checkout
Post by: Jörgen on December 10, 2017, 09:30:54 AM
Hello
This looks like the right way to go.  :)

regards

Jörgen @ Kreativ Fotografi
Title: Re: How to collect shipping cost per product during checkout
Post by: titolin10 on December 10, 2017, 14:53:32 PM
Thank you Jörgen  :)
and Thank you jenkinhill  :)

Title: Re: How to collect shipping cost per product during checkout
Post by: titolin10 on December 10, 2017, 16:32:49 PM
Hello again  :)


I faced a problem with the plugin from jenkinhill  !


It is working properly for non-registered users, But when I log in then no shipment selections at all !!!

I tried to set shopper groups and country but it doesn't work when logged in.

NOW shopper group = Available for all
country = Available for all


Is there any idea to solve it ?

@Jörgen
@jenkinhill 
Title: Re: How to collect shipping cost per product during checkout
Post by: jenkinhill on December 10, 2017, 19:24:23 PM
Turn on VM debug.
Title: Re: How to collect shipping cost per product during checkout
Post by: GJC Web Design on December 10, 2017, 19:59:10 PM
and as the plugin comes from opentools they are the ones to provide the help->   https://open-tools.net