News:

Support the VirtueMart project and become a member

Main Menu

Forced shipping method depending product

Started by thefbi, July 01, 2020, 15:47:53 PM

Previous topic - Next topic

thefbi

Hello,
i have shipping cost, for example 0 to 2 Kg = 40.00, this is for a package. But i have a product that can be shipped in a maxi letter (this is a big letter).
So, this product is 120 gr = 0.0120 Kg = 40.00.

But in a Max letter, the cost is only 15.00
If i create a shipping method "Maxi letter" 0 to 2 Kg for 15.00, in my cart, i will have the 2 shipping method (40.00 and 15.00).

So my question is how i can "say" to my product only use the "Maxi letter" shipping method ?

Regards,
VM 3.8.4 10335
Joomla 3.9.19

pinochico

setup shipping for eshop category and add this category to product
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

AH

As pinochio hinted:

You may be able to use dummy categories (for shipping).

http://docs.virtuemart.net/manual/products-menu/product-categories.html
Assign the product this product to the dummy category (for shipping) as well as the main category for display.

Adjust your shipping methods
http://docs.virtuemart.net/manual/shop-menu/shipment-method-edit.html#information

For the max-letter - include this dummy category
For the expensive - block this dummy category

Now you have the problem when you have two products one of which belongs to the maxi category, but you can play with weights etc to determine a way forward


Regards
A

Joomla 3.10.11
php 8.0

GJC Web Design

or use dummy weights that are spread enough apart that they always fall in the correct filtering of a method
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

thefbi

OK, thank you.

I understand that in fact the problem is that if there are several products in the basket, that's where the problem is. And I don't like working with fake weights, because then you don't know where you are, and when you have to put the real weights or the fake weights. It's a source of error, I'm not the only one to modify this site.

I see there is no simple solution for this...

thefbi

In fact, it should be possible to define that if the product is alone in the basket, it is the Maxi Letter shipping method that is used, and if there are several products, it is the standard method.