VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: drevokocur on October 11, 2015, 10:50:18 AM

Title: Disable raising product price in cart for color variants
Post by: drevokocur on October 11, 2015, 10:50:18 AM
Hi there,
In my eshop I have defined product variants as various colours. Im using for it a product colour component with a little custom adjustment. Sadly, the adjustment was badly done - the selection of displayed colours on frontend is made by adding number "1" to colour that I want to display. The problem is, that this attribute is placed in the price field, so in the frontend it is raising the price for selected variant by 1,20€ (1 plus VAT) after adding it to cart. Now I need urgently to disable the function of increasing the price for product variants (colors in my case). Is there a function or a code that I can comment out for disabling this feature? Thanks!!!
Title: Re: Disable raising product price in cart for color variants
Post by: Studio 42 on October 13, 2015, 01:41:55 AM
Hi,

Quoteproduct colour component
Quoteadding number "1" to colour that I want to display.
.....

Perhaps some screenshot or the name or developer of the tools ? Or this is simply a core Hack ?

I think none have understand your problem ;)

Patrick
Title: Re: Disable raising product price in cart for color variants
Post by: Milbo on October 14, 2015, 23:52:58 PM
Just disable "is input" attribute of the customfield prototype and there are no prices anylonger http://docs.virtuemart.net/manual/general-concepts/212-customfields.html