VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: schmaly on October 31, 2015, 12:28:23 PM

Title: How can i show the real price on Product variants
Post by: schmaly on October 31, 2015, 12:28:23 PM
i am just working on setting up my first VM store - and have managed some of the first barriers, so I believe :)

I have created Product variants, but the prices are entered (no problem) but shown as a "+/-" ) which is definitely horrible. Is there a solution that i have the real price next to the product variants?

I have attached a pic of the current output: so if the Product costs € 4,90, i don't want the variant price to show "+0,00", but to have the price of "4,90 €" shown there. And as of the second variant - i want to show "3,25 €" insteat of the "-1,65 €"

I appreciate your inputs.

Title: Re: How can i show the real price on Product variants
Post by: PRO on October 31, 2015, 14:48:01 PM
I use a dropbox plugin for all my customs
http://forum.virtuemart.net/index.php?topic=127362.0

It has   equal price
Title: Re: How can i show the real price on Product variants
Post by: jenkinhill on October 31, 2015, 15:55:18 PM
You can use Generic Child Variants for this. Have a look at the T-Shirt classic blue product on the demo site, http://demo.virtuemart.net/wear
Log into the demo backend to see how it is done. Although in this case the child variant prices are all the same you can change the prices on the Child Products tab of the parent product. You set the base prices there if they are different from the parent price. See how it affects the front end display.  Then look at the settings for Generic Child Variant on the Custom Fields tab, under Generic Child Variant "Show price" is selected.

This product is also included in the VM sample products if you installed those with your VM.

http://docs.virtuemart.net/manual/general-concepts/186-derived-products-product-pattern-child-products.html
Title: Re: How can i show the real price on Product variants
Post by: Piccolopoeta on December 22, 2015, 17:20:39 PM
Hi, I have been working hard on this, but can't get a solution.
In the page you linked, there's a strange behaviour, that's just the same as my website.

When I try to edit the product size (weight) the price doesn't change. Not only that, if I add it to the cart, the child variant will not be considered, will only have the father price.

http://www.toelettaroma.it/index.php/shop2/cani/alimentazione/cuccioli-fino-a-4-5-mesi


But when I go to the detail page, it works just fine
http://www.toelettaroma.it/index.php/shop2/cani/alimentazione/cuccioli-fino-a-4-5-mesi/primi-mesi-bufalo-detail


(Also, I wrote 1Kg, but it keeps showing 1.000 but I think I should post this elsewhere)
Title: Re: How can i show the real price on Product variants
Post by: Piccolopoeta on December 22, 2015, 20:44:24 PM
Now there, I was able to solve this by updating some other components on my website...so on my side it was resolved!
If anyone needs help just ask, thanks
Title: Re: How can i show the real price on Product variants
Post by: GJC Web Design on December 22, 2015, 22:10:48 PM
Please explain the problem and what u did to solve.. this helps any one else with similar problems
Title: Re: How can i show the real price on Product variants
Post by: Piccolopoeta on December 23, 2015, 08:03:23 AM
I updated both the joomla version, the virtuemart component, but wasn't enough, I restored a backup via akeeba and after that updated all my components. I also made some changes in my css for styling (in the browse category view)
In the end what made the trick was restoring the backup via akeeba and updating the components
Title: Re: How can i show the real price on Product variants
Post by: Piccolopoeta on December 23, 2015, 08:04:38 AM
http://www.toelettaroma.it/index.php/shop2/cani/alimentazione/cuccioli-fino-a-4-5-mesi

here is the working page