News:

Support the VirtueMart project and become a member

Main Menu

Card Attribute Problem

Started by Grablicht, March 03, 2012, 15:05:10 PM

Previous topic - Next topic

Grablicht

Hello everbody :D

I want to sell oil in 3 different types. Small (0.5l), Medium (1l) and Large (1.5l).  Their Prices are 2€, 4€ and 6€!

I created one Product with 3 different Card Attributes (s/m/l) and gave it the price for s (2€).  Now if I change the Card Attribute from S to M it doesn't replace the price from 2€ to 4€ instead it ADDS 4€ and the final price is 4€!

I tried a different attempt by creating one Product with 3 different Card Attributes (s/m/l) and gave the price 0€. Now I cant see any price at all in the frontend.

What am I doing wrong?

EDIT: I use Virtuamart 2.0.0 and Joomla 1.7.3
Sry 4 bad english btw!

PRO

Thats the way they work now

+$2    is the way o do it

Grablicht

Thanks for the advice!

+ und - is working but when i give the Attribute

= 2€

it shows me the price is for free! But i want the Product Price is Set to this Value (2€). What is wrong with my syntax? I tried +2€ and -2€ is working flawless but only =2€ gives me headaches!

PRO

= does not work with vmart 2.0

alpertheidiot

Hi BanquetTables.pro,

I didn't realise until I prepared pretty much everything and enter 80+ products each with 3-4 custom fields that prices on custom fields are added to base price and cannot override it.

I have been searching on the forum for solutions, which I found deleting "$basePriceShopCurrency +" from below line, but the trouble is this time VAT (tax) is not added.
$basePriceShopCurrency = $basePriceShopCurrency + doubleval($variant);


Is there absolutely no way of overriding the base price with the custom field price? Not all products can be configured as: base price+custom field due to nature of them. In my case it is same type of product but each tile size has an independent price.

Please can you give us some guidance on this problem? It was quite easy with VM 1.1.x using +,-,= symbolds.

thanks

PRO

I do not know of a solution.

There could be one, but I dont know one

alpertheidiot

could you perhaps raise this with Millbo?  as a global moderator you certainly will have a bigger say than ordinary users like me.

alpertheidiot

hey BanquetTables.pro, is there any light of adding = (equal) operator to override product price? have you been able to discuss this with Milbo? I just struggle to understand why certain features have been removed from the "next generation" VM..

PRO

Quote from: alpertheidiot on April 02, 2012, 22:24:24 PM
hey BanquetTables.pro, is there any light of adding = (equal) operator to override product price? have you been able to discuss this with Milbo? I just struggle to understand why certain features have been removed from the "next generation" VM..

no


AND: There are so many price configuration in 2.0 it was be a massive amount of work to add it,
Then, you also have to do the work to make it compatible with plugins as well.