× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

[SOLVED]Customfield and strange price on front end

More
7 years 4 months ago - 7 years 3 months ago #2311 by MariTea
MariTea created the topic: [SOLVED]Customfield and strange price on front end
Hello, I'm a beginner of VM 2.0.6 on Joomla 2.5.4.
I need to create a product in two pack: 50 gr. and 100 gr. - the price is 50 gr. €5,00+10% tax and 100 gr. €10,00+10% tax so I create a new custom field called "pack" published, cart attribute yes, than no, yes (it's a list), no. When I go to the product I choose the last option: CUSTOM FIELD and I choose my new custom field. Value field is filled from me with "100 gr." and price "€10,00" but in front end is wrong, please see the attachments. Price is not right: instead € 5,5 (basic price € 5,00 + 10% tax) I see € 16,50 that I think is € 5,5 ( 50 gr. price with 10% tax + 100gr. price with 10% tax) Why? I will see the price of 50 gr. and the option of 100 gr. to add to the cart. Then when I choose to buy it nothing price appear in my cart...where's mistake? :woohoo:

I've read a lot of general topics (english and italian) before to write in this forum support, but nothing suggests the right solution.
It's a bug or a mistake made from me?
:unsure: There are many days that I try to solve this problem I'm desperate and my customer is angry with me...It's urgent a solution if it's possible! :(

I hope in your help! Thanks in advance!
Last Edit: 7 years 3 months ago by MariTea.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago - 7 years 3 months ago #2313 by marcin
marcin replied the topic: Re: Custom field and strange prices on front end
Hello,

No attachments included however I suppose that I know what do you mean.
In the price field you have to type the price difference between the basic product and the product with the selected custom field option.

Please see the example:


In your case, the basic product price is €5,00+10% tax, so for the custom field price you should type €5,00.
Then, if someone choose the product with the custom field selected, the final price will be €10,00+10% tax.
This is how it works in the VirtueMart.

BR,
Marcin
Attachments:
Last Edit: 7 years 3 months ago by marcin.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #2319 by MariTea
MariTea replied the topic: Re: Custom field and strange prices on front end
Thanks Marcin, but I think there's something wrong or I don't understand Virtuemart method. I try to use two different solution:
1) string custom field
2) cart variant custom field
But both have something that don't work. Please see attachments... I'm desperate there are several days that I try to solve this problem without reach a solution...Please help me as soon as possible.
Thanks in advance.
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #2320 by marcin
marcin replied the topic: Re: Custom field and strange prices on front end
Hello,

The price should change on fly depending on which custom field is selected.
You can see how it works on our demo website:
templates.design-joomla.eu/joomla16/jm-e...gory_id=7&Itemid=480

If it doesn't work the same way on your website, then I guess that it may be something screwed up with the VirtueMart files.
I suggest you to restore the default demo template or try to update your store to the newest version, please read more here:
www.joomla-monster.com/template-updates/jm-eco-cosmetics-store

BR,
Marcin

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago - 7 years 3 months ago #2321 by MariTea
MariTea replied the topic: [SOLVED]Customfield and strange price on front end
Thank you I 're very kind I understand my mistake looking your link: it was a configuration parameter now all seem works...thank you again!
Bye! :blush: ;)
Last Edit: 7 years 3 months ago by MariTea.

Please Log in or Create an account to join the conversation.

Time to create page: 0.217 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.