Post by Qphoria » Tue Sep 15, 2009 2:05 am

If you want to be able to apply discounts & specials by percentage, this is a quick mod to allow it. This particular mod works by taking the percentage at the time of entry and converting it to a value when the save button is clicked.

Example:
If you have a product that is $125
and you want to give 10% off you can simply type "10%" in the discount/special price field. When you click save, it will convert it to $12.50. Then subtract that from the normal price. Making the Special price of 10% off of 125 = $112.50. The next time you edit that product, the special/discount will show "12.50". So the percentage is calculated at the time of saving. If you want to change it to 20% there, then just replace 12.50 with 20% and it will do it for you again.

WORKS WITH ALL 1.4.x - 3.0 VERSIONS

Attachments

Last edited by Qphoria on Tue Jul 09, 2013 4:22 am, edited 4 times in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Wed Apr 25, 2012 4:58 am

Updated for 1.5.x support and created as vQmod

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by aaron1988 » Wed Apr 25, 2012 6:51 am

Hi Q,

Just wanted to reply and say this works like a charm thankyou so much for this great update :)

Kind Regards,
Aaron

Active Member

Posts

Joined
Thu Jan 27, 2011 10:03 am

Post by Qphoria » Wed Apr 25, 2012 8:46 am

Great!

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by alanrobinsonleigh » Sun May 06, 2012 6:15 am

Qphoria wrote:If you want to be able to apply discounts & specials by percentage, this is a quick mod to allow it. This particular mod works by taking the percentage at the time of entry and converting it to a value.

Example:
If you have a product that is $125
and you want to give 10% off you can simply type "10%" in the discount/special price field. When you click save, it will convert it to $12.50. Then subtract that from the normal price. Making the Special price of 10% off of 125 = $112.50. The next time you edit that product, the special/discount will show "12.50". So the percentage is calculated at the time of saving.

WORKS WITH ALL 1.4.x AND 1.5.x VERSIONS
ive been looking for this all over and even created a topic for it. thanks Qphoria

New member

Posts

Joined
Thu May 26, 2011 5:09 pm

Post by willistheeggman » Tue Jul 03, 2012 8:30 am

Thank you so much for this. Works perfectly! ;)


Posts

Joined
Mon Apr 09, 2012 1:05 am

Post by MLPages » Fri Oct 12, 2012 10:13 am

You are awesome Q.

Newbie

Posts

Joined
Tue Aug 09, 2011 2:40 am

Post by HighCore » Wed Nov 21, 2012 6:14 pm

Hi,

Thank you for this great extensions.

My only problem is that:

How can i set the percentagles in bulk ? - Because i have 2000 products, and now i need set the one by one.

I need something like:

10pcs - 10%
20pcs - 20%
30pcs - 30%

for almost every products....

thank you

Newbie

Posts

Joined
Mon Mar 05, 2012 7:32 pm

Post by trichask » Fri Apr 26, 2013 4:16 pm

Very good job! Well done!! It works perfectly :) :)

Newbie

Posts

Joined
Fri Apr 26, 2013 4:14 pm

Post by heatherm » Sun Aug 25, 2013 7:47 am

Hi Q,
Can it make the percentage stay active, so that if the product price is changed, the discounts will automatically 'update' - not actually update, but remain a percentage of the price, no matter what the price is.
Thanks

Newbie

Posts

Joined
Sat Jul 27, 2013 10:35 am

Post by Qphoria » Tue Aug 27, 2013 12:25 am

heatherm wrote:Hi Q,
Can it make the percentage stay active, so that if the product price is changed, the discounts will automatically 'update' - not actually update, but remain a percentage of the price, no matter what the price is.
Thanks
Not with this mod.. this was only a quick hack to allow you to enter it in percentages. When you click save it stores the data as the pre-calculated value. For something to store as the percentage, that requires a much larger job as other areas on both the admin and the catalog side for price calculations would need to change

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by svavrek » Wed Sep 18, 2013 10:13 pm

How do you begin to use this? Where do you upload the XML file to?

New member

Posts

Joined
Sat May 11, 2013 12:05 am

Post by Qphoria » Wed Sep 18, 2013 11:00 pm

svavrek wrote:How do you begin to use this? Where do you upload the XML file to?
Read this first to understand and install "vQmod"
http://forum.opencart.com/viewtopic.php ... 42#p196942

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by svavrek » Thu Sep 19, 2013 12:00 am

Ok I did that, uploaded VQMOD to the root with 777 permissions. Went to the site /vqmod/install and it does not give any messages, error or otherwise. Nothing in the vqcache folder, either... ???

New member

Posts

Joined
Sat May 11, 2013 12:05 am

Post by Qphoria » Thu Sep 19, 2013 12:19 am

svavrek wrote:Ok I did that, uploaded VQMOD to the root with 777 permissions. Went to the site /vqmod/install and it does not give any messages, error or otherwise. Nothing in the vqcache folder, either... ???
what does it show? link?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by svavrek » Thu Sep 19, 2013 11:21 pm

It just remains a blank web browser... ill PM the link

New member

Posts

Joined
Sat May 11, 2013 12:05 am

Post by alexferr » Fri May 23, 2014 10:10 pm

Hello,

I'm new in forum, i use opencart 1.5.5.1, i installed [vQmod] Enter Percentage for Discounts & Specials, but dont do nothing...

What i doing wrong ?

I just coy xml file to xml folder.

Thanks

Newbie

Posts

Joined
Fri May 23, 2014 10:05 pm

Post by raj79 » Sat Jul 12, 2014 5:22 pm

hello !

we have installed this one . but not working ?


where is fault ? guide us please.

Thanks in advance !

Online Grocery shopping in delhi


New member

Posts

Joined
Fri Jun 06, 2014 3:57 pm
Location - Delhi

Post by arahman0410 » Thu Aug 02, 2018 10:27 pm

Hello, can i use this XML file for opencart version 3.0.2.0. If not please update for this version.
Need it very urgently. Thanks.
website: newluks.com

Newbie

Posts

Joined
Thu Aug 02, 2018 10:20 pm

Post by Qphoria » Tue Aug 07, 2018 10:02 pm

Turns out it already supports 2.3 and 3.0 so keep it going :)

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 22 guests