News:

Looking for documentation? Take a look on our wiki

Main Menu

VM3 Child Products

Started by jimleeder123, March 05, 2015, 13:45:00 PM

Previous topic - Next topic

jimleeder123

On VM1 you could make child products easily by creating a product, adding an attribute, and then you could add an "item" to the product. This appeared on the product page as a drop down box.

Example - product would be Margherita Pizza, items (selectable in drop down box) would be 10" Margherita, 12" Margherita etc.
Items would have their individual prices, like 10" would be £5 and 12" would be £6.50. Prices would be different for all pizzas and options as no sizes have the same price.

I want to be able to do this in VM3. Do I need a plugin or can it already be done? Currently on one website I have "Pizzas" as a category, "Margherita" as a category and then the sizes as products. It would be better to do it the same way as VM1 on future sites. Is this possible?

Thanks in advance.
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

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

jimleeder123

So this is built into VM3? I've got Hutson's "drop" plugin (was created to imitate VM1 attributes) , I suppose this can be used alongside this?
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

GJC Web Design

QuoteSo this is built into VM3?

there since year dot

QuoteI've got Hutson's "drop" plugin (was created to imitate VM1 attributes) , I suppose this can be used alongside this?

suck and see....
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

AH

#4
Dropbox was designed to emulate the VM1 functionality (+ a bit more e.g. multiplier) -


You can add mutliple options using one customfield rather than adding lots of customfields

And multiple dropdowns can be applied to each product

E.g.

Product might be margheritta

Possibly with 2 dropdown customfields created

Customfield
Size
e.g. 6inch,8inch@+2,10inch@+4,12inch@+6

Customfield
Additional toppings
e.g. ham@+1,anchovies@+2,artichoke@+3

These are then added and tailored to each product as required

Of course you can create as many different variations as need
Regards
A

Joomla 3.10.11
php 8.0

jimleeder123

Right so basically I'd want drop down boxes for different sizes, for which I'd use GJC's method. Then I'd need your plugin to set extra topping prices for each size. So Maybe extra veg (each topping listed individually) would cost £0.90 per topping, and extra meat toppings would cost £1.10 per topping.

I can do this differently for each size on the same product with only 1 drop down box for the plugin?
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

AH

The dropdown would work for both methods

create one for the sizes and one for the extra toppings

Although it is possibly to do this using product patterns and no plugins I think
Regards
A

Joomla 3.10.11
php 8.0

jimleeder123

I'll have a look when I am able to get started on this website and say if I have any problems then
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

jimleeder123

I've created the sizes ok via GJC's method. However each size has different prices for "extra toppings". How can I implement this?
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

Studio 42

Hi,
Why you don't make some test, to know how it work.
It's very simple, add a customfield as cart atribute if you need an option list with price(or not).
make same for each option.

In your case i had make a category pizza.
Each sort of pizza(marguarita for eg.) is a product
in the product(marguarita) add the different sizes(10" and 12") as option using customfields.
If you need more options then add a new customfield and do same as for sizes.

jimleeder123

I've worked it out - the generic child custom field does the trick.
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk