Post by roozaimee » Thu Dec 01, 2011 1:38 pm

terrier wrote:Go under product -> click on Special tab -> add your special price amount -> save

Go to your site and click on the product.. you should see a regular and discounted value -> with the discounted %
hi

I upload the file directly with vqmod manager..
and I see no error in the log

but the save % doesnt appear..

please advise...

best regards

Newbie

Posts

Joined
Sat Nov 26, 2011 12:12 pm

Post by Rainforest » Sun Dec 04, 2011 12:56 am

will this work with 1.4.9.6?

Self Taught Opencart User & Developer Since 2010.


User avatar
Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by pbenfield » Tue Jan 24, 2012 6:44 am

Will this code also work with 1.4.9.4 ??

discount_amount.xml

Would appreciate a reply

New member

Posts

Joined
Wed Apr 20, 2011 3:43 pm

Post by Zarsk » Fri Jan 27, 2012 12:33 am

One of the first VQMods I tried and worked perfectly. Brilliant!!!!

Newbie

Posts

Joined
Thu Jan 12, 2012 5:33 pm

Post by MZBS » Tue Jan 31, 2012 3:49 pm

I love you ;D ;D ;D ;D

New member

Posts

Joined
Tue Jan 17, 2012 1:36 am

Post by pbenfield » Wed Feb 08, 2012 7:06 pm

This is great for 1.5 but how can you do this for 1.4.9.4

in product.tpl 1.4.9.4 does not have code:

Code: Select all

<span class="price-old"><?php echo $price; ?></span> <span class="price-new"><?php echo $special; ?></span>
All so far entered here do not work

appreciate for 1.4.9.4

New member

Posts

Joined
Wed Apr 20, 2011 3:43 pm

Post by cellhook » Mon Feb 27, 2012 1:27 pm

fido-x wrote:Following from this thread: http://forum.opencart.com/viewtopic.php?f=22&t=22341, and at i2Paq's request, here's the vQmod to show the discounted amount and the percentage saved for special offer products and discounts.
discount_amount.xml
I think I need your special help. I want same thing but not getting how I can make modifications and how I can get desired result.

cellhook.com is Your One Stop Shop For All Your Wireless Needs. We provide you with latest and most comprehensive information on exotic, business, multimedia, and fashion cellular phones and accessories.


Newbie

Posts

Joined
Mon Feb 27, 2012 1:06 pm


Post by i2Paq » Fri Aug 24, 2012 10:17 pm

Works with 1.5.4.x!

Would love to see it working on the Product list ::)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by v-v » Sun Oct 07, 2012 8:59 pm

Hi, need some advise / help with making a condition when product price is 0. I use a "call for price" module, where when price is zero so text "ask for price" will appear instead displaying a price.

But unfortunately, when price is zero, there is divison by zero problem when counting percentage savings ...

Can some help me how to set a condition to avoid division by zero? I guess this conditon (if ... else ...) must be put in controller, but i dont know the right syntax / code.

Many thanks ...

v-v
Active Member

Posts

Joined
Wed Jun 16, 2010 10:09 pm

Post by Furet » Mon Nov 26, 2012 8:12 pm

Hi,
anybody that can help me in using this exellent mod also now that I have started to use Shoppica2 theme?
Thanks!

Newbie

Posts

Joined
Mon Sep 24, 2012 4:31 am

Post by i2Paq » Fri Nov 30, 2012 3:38 pm

Furet wrote:Hi,
anybody that can help me in using this exellent mod also now that I have started to use Shoppica2 theme?
Thanks!
Ask your Shoppica2 theme seller as this template SUCKS.
It is almost impossible to support that theme.

So the issue lies with Shoppica2 theme, not with this mod.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by webnow » Thu Mar 28, 2013 8:15 am

Hi, using this mod and it works great. Could someone please help me with the following question?

How do I add a word preceding the word price. Here is the code from this xml module:
I want to to say: Regular Price %variable for regular price and Discounted price then %variable for discounted price
So, just adding one word before Price ie: the word "Regular" and one word before the special or discounted price ie: the word "Discounted"

Could someone please help give me an example using code below on where this text should go?

Thank you!



<file name="catalog/view/theme/default/template/product/product.tpl">
<operation>
<search position="after" index="1"><![CDATA[
<span class="price-old"><?php echo $price; ?></span> <span class="price-new"><?php echo $special; ?></span>
]]></search>
<add><![CDATA[
<!-- Discounted price -->
<table>
<tr>
<td style="width: 80px;"><?php echo $text_discounted; ?></td>
<td><?php echo $discount_amount; ?></td>
</tr>
<tr>
<td><?php echo $text_percent_saved; ?></td>
<td><?php echo $percent_savings; ?>%</td>
</tr>
</table>

Newbie

Posts

Joined
Sat Feb 09, 2013 11:07 am

Post by bobmartinusa » Thu Aug 29, 2013 3:48 am

Just installed in 1.5.5.1 and it worked brilliantly

New member

Posts

Joined
Sat Mar 16, 2013 5:39 pm

Post by xsaintzx » Thu Jun 26, 2014 8:44 pm

How can I modify this to work in category and latest page?
Should be something to deal with category.tpl and latest.tpl..

New member

Posts

Joined
Wed Apr 14, 2010 10:48 pm

Post by raj79 » Fri Jul 11, 2014 8:39 pm

we are using same in http://www.apnakiranastore.com/index.ph ... Saunf+Moti . But not showing discounted price..

Online Grocery shopping in delhi


New member

Posts

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

Post by Taskmc » Tue Dec 09, 2014 11:29 pm

webnow wrote:Hi, using this mod and it works great. Could someone please help me with the following question?

How do I add a word preceding the word price. Here is the code from this xml module:
I want to to say: Regular Price %variable for regular price and Discounted price then %variable for discounted price
So, just adding one word before Price ie: the word "Regular" and one word before the special or discounted price ie: the word "Discounted"

Could someone please help give me an example using code below on where this text should go?

Thank you!



<file name="catalog/view/theme/default/template/product/product.tpl">
<operation>
<search position="after" index="1"><![CDATA[
<span class="price-old"><?php echo $price; ?></span> <span class="price-new"><?php echo $special; ?></span>
]]></search>
<add><![CDATA[
<!-- Discounted price -->
<table>
<tr>
<td style="width: 80px;"><?php echo $text_discounted; ?></td>
<td><?php echo $discount_amount; ?></td>
</tr>
<tr>
<td><?php echo $text_percent_saved; ?></td>
<td><?php echo $percent_savings; ?>%</td>
</tr>
</table>
Hi, i have the same problem...can anyone help me?

Newbie

Posts

Joined
Tue Dec 09, 2014 5:11 am
Who is online

Users browsing this forum: No registered users and 45 guests