News:

Looking for documentation? Take a look on our wiki

Main Menu

Is it possible that the weight depending on the length of a cable?

Started by nkamp, June 09, 2018, 21:57:55 PM

Previous topic - Next topic

nkamp

Hello,

I have made send tariffs like this:
  0.0 - 0.99kg = tariff price x
  1.0 - 4.99kg = tariff price y
5.00 - 19.99kg = tariff price z.

This is working for the discrete products so far. I don't know if this is the best way to implement the tariffs like I did. I'm curious how others that do.

My major question is we have big cable roll with a total length of 2000mtr.
We cut that off, the client can order per 50mtr.

What we want is:
         50 - 200 mtr. - tariff price x
and 200 - 750 mtr. - tariff price y
and 750 - 1000mtr - tariff price z

Or what is the best way in such a case?

Nico

Studio 42

YOu can add price per quantity and quantity step 50.
Add new price
for quantity 50 to 200
for quantity 250 to 700
for quantity 750 to 1000
Thats all

AH

You can use this plugin

http://forum.virtuemart.net/index.php?topic=127362.0

Which lets you add a custom field for length - when you set the length of 50m for the single item along with the weight  you can add steps in the customfield and it can multiply the base weight by the length options

So you set the base product to be a 50 metre length with a price and weight for the 50 metre length

You then setup the customfield using the qvariant plugin

The variants are base on the number of 50 metre lengths you want
And you use the mutiplier for the weight

Your config will be like this potentially

3.Multiply the price *
Config: 50m,100m@*2,150m@*3,200m@*4   

etc etc
Gives prices of: 50m = Retail, 100m = Retail * 2, 150m = Retail * 3, 200m = Retail * 4  etc etc

You then set the checkbox - "Adjust product weight for options using the * multiplier"
This then multiplies the base single item weight by the same multiplier as the price

Example if weight of the item for 50m is 10kg
You will get cart weights of:
50m = 10kg, 100m = 10kg x 2, 150m = 10kg *3, 200 = 10kg *4


Regards
A

Joomla 3.10.11
php 8.0