News:

Support the VirtueMart project and become a member

Main Menu

How to collect shipping cost per product during checkout

Started by titolin10, December 09, 2017, 08:58:51 AM

Previous topic - Next topic

titolin10

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 ?

titolin10

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

titolin10


Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

titolin10

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.

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

titolin10

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 ?




Jörgen

Hello
This looks like the right way to go.  :)

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

titolin10


titolin10

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 

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

and as the plugin comes from opentools they are the ones to provide the help->   https://open-tools.net
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation