Author Topic: Custom Field Cart variant of product weight  (Read 15034 times)

servlet

  • Jr. Member
  • **
  • Posts: 359
  • Business optimization
    • Фототапети
  • VirtueMart Version: latest
Re: Custom Field Cart variant of product weight
« Reply #15 on: February 07, 2015, 14:23:43 PM »
And what happen in VM3.x? Is it available now. I am not tested VM3.x... Please share your xp.
Он-лайн магазин за фототапети http://mishelfoster.com

qb-virtue

  • Beginner
  • *
  • Posts: 19
Re: Custom Field Cart variant of product weight
« Reply #16 on: June 30, 2015, 21:05:24 PM »
I am need of this feature for a VM3 site, does anyone have any input? Child products are not an option for me.
Thanks in advance. 

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3517
  • VirtueMart Version: 4.0.12.10777
Re: Custom Field Cart variant of product weight
« Reply #17 on: June 30, 2015, 21:52:06 PM »
Maybe this will help

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

I have posted a possible modification for weight settings if the base version does not meet your needs (NOTE THAT THIS IS NOT TESTED!)

http://forum.virtuemart.net/index.php?topic=130512.msg450014#msg450014
Regards
A

Joomla 3.10.11
php 8.0

servlet

  • Jr. Member
  • **
  • Posts: 359
  • Business optimization
    • Фототапети
  • VirtueMart Version: latest
Re: Custom Field Cart variant of product weight
« Reply #18 on: June 30, 2015, 22:45:32 PM »
Thank you.
I will read it and test it :)
Он-лайн магазин за фототапети http://mishelfoster.com

Adwans

  • Jr. Member
  • **
  • Posts: 53
  • Beginner+
  • VirtueMart Version: J! 3.9.25 VM 3.8.8
Re: Custom Field Cart variant of product weight
« Reply #19 on: August 27, 2015, 20:04:14 PM »
Hello Members!
This solution looks attractive and clear :
 

 in regards to changing the shipping price based on the custom.

a custom field product plugin that talks to a shipping plugin can do this.

The custom field plugin just has to define the variable

& in the shipping plugin

&getOrderWeight($cart, $method->weight_unit){
$newOrderWeight=code here
return $newOrderWeight;
}


OR
...
I ve started with cart plugin (not a problem) but cannot find customfield plugin. Where is a right place to start from?
My shop  - doors and windows  - has not many products BUT a lot of "size"  (this means "weight") variants. Just want to modify OrderWeight a bit.
 
Thanks in advance. PRO? Could You?
Zibi

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10443
  • VirtueMart Version: 3+
Re: Custom Field Cart variant of product weight
« Reply #20 on: August 28, 2015, 13:17:25 PM »
Hello Members!
This solution looks attractive and clear :
 

 in regards to changing the shipping price based on the custom.

a custom field product plugin that talks to a shipping plugin can do this.

The custom field plugin just has to define the variable

& in the shipping plugin

&getOrderWeight($cart, $method->weight_unit){
$newOrderWeight=code here
return $newOrderWeight;
}


OR
...
I ve started with cart plugin (not a problem) but cannot find customfield plugin. Where is a right place to start from?
My shop  - doors and windows  - has not many products BUT a lot of "size"  (this means "weight") variants. Just want to modify OrderWeight a bit.
 
Thanks in advance. PRO? Could You?
Zibi

in VM3 this is a lot easier.
This plugin does it
http://forum.virtuemart.net/index.php?topic=127362.0


lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Los Angeles immigration lawyers
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: Custom Field Cart variant of product weight
« Reply #21 on: May 03, 2016, 15:18:52 PM »
Hello Members!
This solution looks attractive and clear :
 

 in regards to changing the shipping price based on the custom.

a custom field product plugin that talks to a shipping plugin can do this.

The custom field plugin just has to define the variable

& in the shipping plugin

&getOrderWeight($cart, $method->weight_unit){
$newOrderWeight=code here
return $newOrderWeight;
}


OR
...
I ve started with cart plugin (not a problem) but cannot find customfield plugin. Where is a right place to start from?
My shop  - doors and windows  - has not many products BUT a lot of "size"  (this means "weight") variants. Just want to modify OrderWeight a bit.
 
Thanks in advance. PRO? Could You?
Zibi

in VM3 this is a lot easier.
This plugin does it
http://forum.virtuemart.net/index.php?topic=127362.0



I tested but that plugin is super complicated, I couldn't even understand how to set up a basic dropdown for settings. Not complaining, is free and probably useful for many others.

I think guys here as me simply require the custom field of string value with weight modification per variant.

Sadly we seem forced to use childs or multivariants only cause we require a different weight.

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3517
  • VirtueMart Version: 4.0.12.10777
Re: Custom Field Cart variant of product weight
« Reply #22 on: May 03, 2016, 15:50:51 PM »
Lindapowers

Quote
"I tested but that plugin is super complicated, I couldn't even understand how to set up a basic dropdown for settings. Not complaining, is free and probably useful for many others."

I have posted the - extremely simple solution to your issue on the relevant plugin page.

Quote
Quote

    If a product has weight 5 kg and I want to add variants for 6 and 7 kg don't really understand how to handle that.


Assuming the base product is the 5kg product then the rest is basic maths!

5/6 = 1.2  5/7 = 1.4

Config:

5kg,6kg@*1.2,7kg@*1.4
Regards
A

Joomla 3.10.11
php 8.0