News:

Looking for documentation? Take a look on our wiki

Main Menu

One product with different price per weight

Started by pm4698, August 10, 2014, 19:44:52 PM

Previous topic - Next topic

pm4698

Hello there,

I have no huge experience on virtuemart but i need to do something like this:
linkl1: http://www.pet4u.gr/skiloi/ksira-trofi-skilou/royal-canin-size/

or this:

link2: http://www.fressnapf.de/shop/acana-grasslands-cat-6_8kg

At first link, it seems that there is one item with many weights. For example i have the same item at 2kg and 5kg (actually 2 different sku codes but same product, different weight). And the guy shows this like its one product and he sees all weight options.

At second link, at product page, he has a select weight option and when you select different weight, then price is changed automatically.

I don't know if there are ready plugins for this or you can do this directly through virtuemart.

Also, i don't know if for example its like creating one product (parent) and then child products (because i have never worked with parent-child product technique)

Any ideas of how this can be done in virtuemart?

Thank you in advance

GJC Web Design

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

Milbo

Different weights can only be done with VM 3 and our customsize http://extensions.virtuemart.net/products/custom-size-detail

The reason is that VM2 cannot manipulate/change the weight of a product. So if you want that, you should use vm3, buy our customsize and write a ticket (cause I did not add yet this feature, but it wont take longer than a day)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

pm4698

As the read the link at first reply, it can be done in VM2, by creating Cart variant (set cart attribute and is a list to YES) and then call custom field in each product and define for each value a different price.

This way, you can have this inside each product.

This is like the 2nd link i have attached to my original post.

What if i wanted to do this like the page at 1st link?

There he presents like 3 products in one, but if you see its like this:
One product: dog food, description and below he has like 3 different products (same product, different weight) and you can add each of the products to cart.

Does it anything to do with parent - child products? (i am not quite familiar with those terms - how to use them). Can i for example, create a parent product and then child products and make them show like this? (first parent and below child products?)

Thank you in advance

GJC Web Design

If you have e.g. "Dog Food Pigs Noses - sehr lecker" available in 3 different weight sized bags then they would be 3 different child products of the parent "Dog Food Pigs Noses - sehr lecker"
each with their own price

I think your confusing weights etc - it is the same as if u had red/blue/black "Stupid T.Shirt" - they are children (cart variants) of the parent "Stupid T.Shirt"

set it up and experiment - you'll find the 3 possible weight pig noses bags will appear in a dropdown and the client can choose 3 small and 2 large  - what ever
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

pm4698

So, if i got this right.

1) I create a custom field for example size.
2) I go to product and add this custom field and for each value of custom field i add a price

Now, if i go and see the product at frontpage then if i select for example medium size the price will change.

With this procedure, i have for example the main product and 3 child products, one for each size?

If yes, is there any tutorial of how to show those child products, as they were separate products?

Thank you in advance and sorry if i become annoying!

Jörgen

Hello

If I don´t remember wrong, You simply assign a category to the child product and it will be visible. As long as it only inherits the parents category it will not be invisible in searches e.t.c

regards

Jörgen @ Kreativ Fotografi

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

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