News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to apply discount only to product price without affect on custom field price

Started by servlet, January 03, 2015, 09:46:15 AM

Previous topic - Next topic

servlet

How to apply discount only to product price without affect on custom field price?

What is now?...
When I apply discount for a product with custom field it affect on custom field price which is wrong or I think it is missed option which call to apply or not discounts for custom fields...

Or if there is another way, please tell me.

Bets regards
Он-лайн магазин за фототапети http://mishelfoster.com

Kashif Nawaid

I am also having same problem.

Wanted to apply discount to Base Price + Discount --- and then add the Custom Field Value.

or else any  option to add stitching price to the final price ??

any solution ???
UnitechWorld Services
http://www.unitechworld.in

servlet

To this moment I dont know for any solution.
I think this option must implemented by default in VM
Он-лайн магазин за фототапети http://mishelfoster.com

Milbo

We could add a checkbox, implying if it should be added after calculation of the product price, or before.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

servlet

Он-лайн магазин за фототапети http://mishelfoster.com


Kashif Nawaid

Found the Solution

replace the calculation.php file from

administrator\components\com_virtuemart\helpers\calculation.php

this will apply the discount to the base price and then add the custom field value
UnitechWorld Services
http://www.unitechworld.in

sirius

Quote from: Milbo on February 04, 2015, 14:19:54 PM
We could add a checkbox, implying if it should be added after calculation of the product price, or before.
Hi Milbo,
I thnik lots of people need this option.

Actually as this thread explain it all, the final price never change even a custom price is apply, this is the "save" price that is bigger and bigger, and this is a nonsens IMHO.

100$ - 10$ discount =  you save 10$ and you pay 90$
Add custom field option 100000$ = BINGO you save 100010$ !!! and you still pay 90$

Obviously there's something very wrong here... :o
And this bad behaviour wasn't at all with VM 1.1.9 for example

Quote from: Kashif Nawaid on February 08, 2015, 14:22:26 PM
Found the Solution

replace the calculation.php file from

administrator\components\com_virtuemart\helpers\calculation.php

this will apply the discount to the base price and then add the custom field value

Thanks for the effort Kashif but it gives me a blank page

Thanks to all
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.0.11095


servlet

Он-лайн магазин за фототапети http://mishelfoster.com

lindapowers