Author Topic: How to collect shipping cost per product during checkout  (Read 142 times)

titolin10

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
How to collect shipping cost per product during checkout
« 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 ?

titolin10

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
Re: How to collect shipping cost per product during checkout
« Reply #1 on: December 09, 2017, 08:59:46 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

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
Re: How to collect shipping cost per product during checkout
« Reply #2 on: December 09, 2017, 09:35:44 am »
Now My VM is 3.2.8 after update

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1142
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.6
Re: How to collect shipping cost per product during checkout
« Reply #3 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
Joomla 3.8.2
Virtuemart 3.2.6
Olympiantheme Hera (customized)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26415
  • Always on vacation
    • Jenkin Hill Internet
Re: How to collect shipping cost per product during checkout
« Reply #4 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.8 on Joomla 3.8.2 PHP 7.0.25

Testing VM3.2.8 on J3.8.3RC

titolin10

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
Re: How to collect shipping cost per product during checkout
« Reply #5 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.

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1142
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.6
Re: How to collect shipping cost per product during checkout
« Reply #6 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
Joomla 3.8.2
Virtuemart 3.2.6
Olympiantheme Hera (customized)

titolin10

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
Re: How to collect shipping cost per product during checkout
« Reply #7 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 ?




Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1142
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.6
Re: How to collect shipping cost per product during checkout
« Reply #8 on: Yesterday at 09:30:54 »
Hello
This looks like the right way to go.  :)

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.2
Virtuemart 3.2.6
Olympiantheme Hera (customized)

titolin10

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
Re: How to collect shipping cost per product during checkout
« Reply #9 on: Yesterday at 14:53:32 »
Thank you Jörgen  :)
and Thank you jenkinhill  :)


titolin10

  • Jr. Member
  • **
  • Posts: 52
  • A beginner
Re: How to collect shipping cost per product during checkout
« Reply #10 on: Yesterday at 16:32:49 »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26415
  • Always on vacation
    • Jenkin Hill Internet
Re: How to collect shipping cost per product during checkout
« Reply #11 on: Yesterday at 19:24:23 »
Turn on VM debug.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.8 on Joomla 3.8.2 PHP 7.0.25

Testing VM3.2.8 on J3.8.3RC

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7637
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: How to collect shipping cost per product during checkout
« Reply #12 on: Yesterday at 19:59:10 »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation