Hello, i need some help with the Product Attributes
I got a Product and a fix Price
BUT...
I want to offer the Products in Sets, that means, you can choose a:
5 Set Saving Packe and
10 Set Saving Package
..for a good price
I have realized that in a way with "custom filed" but it calculates the price
5 Pieces+95 €
10 Pieces+166€
this seems weird for customers and i got to put a option that "reset" the price if someone chose accidently the set price.
"no set +0 €"
So all i want is a price switcher without calculating the price is visible.
Is there another way to switch the prices for the "saving sets" ?
If someone chosse a Set the price must swith to the set price. but standart price got to be the fix price
I got the Virtuemart 2.0.24c with the Yagendoo Footprint Template. Also there is the Product Attribute Plugin installed.
I hope you guys undtstand this what i want.. :)
Hi,
You can check my JMS quaniti related price plugin :
http://www.joommasters.com/index.php/joomla/joomla-plugins?view=document&doc_id=21 (http://www.joommasters.com/index.php/joomla/joomla-plugins?view=document&doc_id=21)
I found this topic while looking for something else, thought i would present my solution without using a plugin... still needs some tweaks...
echo '<div class="quantity"><h4>'.vmText::_('COM_VIRTUEMART_PRODUCT_QUANTITY_HEADER').'</h4>';
foreach($allPrices as $prices) {
echo '<span> '.$prices['price_quantity_start'];
if ($prices['price_quantity_end'] == '0') {
echo ' + ' .vmText::_('COM_VIRTUEMART_QUANTITY_VALUE').' @ ';
} else {
echo ' - ' .$prices['price_quantity_end']. ' ' .vmText::_('COM_VIRTUEMART_QUANTITY_VALUE').' @ ';
}
echo $this->currency->priceDisplay($prices['product_price']). ' ' .vmText::_('COM_VIRTUEMART_QUANTITY_CASE'). ' ' . vmText::_('COM_VIRTUEMART_QUANTITY_VAT').'</span>';
echo '<br />';
}
Use this in productdetails override