News:

Support the VirtueMart project and become a member

Main Menu

[SOLVED] Product and custom field generate strange price

Started by magoonebbia, July 18, 2012, 11:38:53 AM

Previous topic - Next topic

magoonebbia

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? Then when I chose to buy it nothing price appear in my cart...where's mistake?

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

Thanks in advance!

[attachment cleanup by admin]

magoonebbia

I forgot to say that joomla template and virtuemart are compatible because I bought them toghether (on joomla-monster.com)... :'(

rvbgnu

For Tax, you should define a rule in VM > Products > Taxes & Calculation Rules
and then apply this rule to your product.

Then for custom fields without stock control, have a look at here
http://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_without_stock_control
and maybe check the option price is added or deducted from the main price!!
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart

magoonebbia

Thank you for your suggestions, I checked all the steps of configuration of the single product.

1) For TAX I define a rule in VM > Products > Taxes & Calculation Rules ( 10% on single product) and then I apply this rule to my product and it's right until I apply also a custom field referred to the 50 gr. pack and 100 gr. pack in two different custom field to choose for the cart. In this moment happen something wrong as I already explained to you.
2) For CUSTOM FIELD I checked your link and I follow the instruction for "add to cart"
3) CONFIGURATION in Virtuemart for price: in show price I selected only "show price" (first opt.) and "basic price included tax without sales" (eighth opt.) ( My customer don't want to see TAXES in front end) I tryed also to change all these options but nothing happened...The price on the front end is wrong.

I think that i do something wrong when I go on the Custom Field tab, and in the Custom Field Type area, I select the my custom Field just created, in colum Price I add 10,00. Perhaps must I add "+" or something else before the price of 100 gr. pack? See attachments of product detail and the application of my custom field to this product
and the final result in the front endo of the shop (two options of the same product).

Thank you in advance, I hope in your help...

[attachment cleanup by admin]

sadrem

Hello,
for 50 gr - price= +0
for 100 gr price= +5
p.s. Do not forget to change message icon to Solved.

magoonebbia

Thank you, now it's clear but when I go to the cart no price appear, why?
I surely forget to customize somethig but where?...see attachment.
Thanks for your patience and sorry for my bad english...I'm waiting for your help you are wonderful!
Bye!


[attachment cleanup by admin]

sadrem

it's config problem .
see in backend Configuration section about "show price in cart " show prices and so on
p.s. Do not forget to change message icon to Solved.

magoonebbia

I'm afraid but the configuration seem ok but no price show...I checked it. any idea?

[attachment cleanup by admin]

sadrem

please see attachments


[attachment cleanup by admin]
p.s. Do not forget to change message icon to Solved.


rvbgnu

Magoonebbia,
I 'm glad it's solved now! Good luck with the new website!
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart

magoonebbia

Thank you, don't worry I think I 'll need your help before finishing this site...Bye!