[Skip to main content](#vessel-content)

#   Apply a discount and free shipping with a coupon

##

- **[gageorion](/forum/user/4374-gageorion "View gageorion's Profile")**
- [![gageorion's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4374.jpg)](/forum/user/4374-gageorion "View gageorion's Profile") Topic Author
- [ Offline](/forum/user/4374-gageorion)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 3 months ago -  14 years 3 months ago [\#58719](#58719) by [gageorion](/forum/user/4374-gageorion "View gageorion's Profile")  *[Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#58719 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")* was created by *[gageorion](/forum/user/4374-gageorion "View gageorion's Profile")*

Hey, great component.

Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount *each item* from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.

Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.

> In the For Each loop for $rate, I wrote an IF statement:
> if (!$this-&gt;coupon-&gt;discount\_code == "Wanderlust2012" &amp;&amp; $rate-&gt;shipping\_name == "Free Shipping Promo"){
> //do nothing, this skips the free shipping radio button if coupon code is not valid
> }
> else
> {
> // show the remaining shipping methods

Thank you!

Last edit: 14 years 3 months ago by [gageorion](/forum/user/4374-gageorion "View gageorion's Profile"). Reason: mispelling

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 3 months ago -  14 years 3 months ago [\#58739](#58739) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#58739 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

Hello,

Can you show me exactly what is in your "**For Each loop for $rate**" ?

Last edit: 14 years 3 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[gageorion](/forum/user/4374-gageorion "View gageorion's Profile")**
- [![gageorion's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4374.jpg)](/forum/user/4374-gageorion "View gageorion's Profile") Topic Author
- [ Offline](/forum/user/4374-gageorion)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 3 months ago [\#58822](#58822) by [gageorion](/forum/user/4374-gageorion "View gageorion's Profile")  Replied by *[gageorion](/forum/user/4374-gageorion "View gageorion's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#58822 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

Below is the entire view code for checkout/shipping... I have not been able to add the IF statement correctly, it was from a different poster. I see where it should be added, I see the **For Each loop for $rate** but cannot figure out how to successfully add the new code.
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 1.5.4 * @author hikashop.com * @copyright (C) 2010-2011 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;?php if(!empty($this-&gt;rates)){ ?&gt; &lt;div class="hikashop_shipping_methods" id="hikashop_shipping_methods"&gt; &lt;fieldset&gt; &lt;legend class="legend"&gt;&lt;?php echo JText::_('HIKASHOP_SHIPPING_METHOD');?&gt;&lt;/legend&gt; &lt;table&gt; &lt;?php $this-&gt;setLayout('listing_price'); $this-&gt;params-&gt;set('show_quantity_field', 0); $auto_select_default = $this-&gt;config-&gt;get('auto_select_default',2); if($auto_select_default==1 &amp;&amp; count($this-&gt;rates)&gt;1) $auto_select_default=0; $done=false; $k = 0; foreach($this-&gt;rates as $rate){ $checked = ''; if(($this-&gt;shipping_method==$rate-&gt;shipping_type &amp;&amp; $this-&gt;shipping_id==$rate-&gt;shipping_id)&#124;&#124; ($auto_select_default &amp;&amp; empty($this-&gt;shipping_id)&amp;&amp;!$done)){ $done = true; $checked = 'checked="checked"'; } if($this-&gt;config-&gt;get('auto_submit_methods',1) &amp;&amp; empty($checked)){ $checked.=' onclick="this.form.submit(); return false;"'; } ?&gt; &lt;tr class="&lt;?php echo "row$k"; ?&gt;"&gt; &lt;td&gt; &lt;input class="hikashop_checkout_shipping_radio" type="radio" name="hikashop_shipping" id="radio_&lt;?php echo $rate-&gt;shipping_type.'_'.$rate-&gt;shipping_id;?&gt;" value="&lt;?php echo $rate-&gt;shipping_type.'_'.$rate-&gt;shipping_id;?&gt;" &lt;?php echo $checked; ?&gt; /&gt; &lt;/td&gt; &lt;td&gt;&lt;label for="radio_&lt;?php echo $rate-&gt;shipping_type.'_'.$rate-&gt;shipping_id;?&gt;" style="cursor:pointer;"&gt; &lt;span class="hikashop_checkout_shipping_image"&gt; &lt;?php if(!empty($rate-&gt;shipping_images)){ $images = explode(',',$rate-&gt;shipping_images); if(!empty($images)){ foreach($images as $image){ if(!empty($this-&gt;images_shipping[$image])){ ?&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES .'shipping/'. $this-&gt;images_shipping[$image];?&gt;" alt=""/&gt; &lt;?php } } } } ?&gt; &lt;/span&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt;&lt;label for="radio_&lt;?php echo $rate-&gt;shipping_type.'_'.$rate-&gt;shipping_id;?&gt;" style="cursor:pointer;"&gt; &lt;span class="hikashop_checkout_shipping_name"&gt;&lt;?php echo $rate-&gt;shipping_name;?&gt;&lt;/span&gt; &lt;span class="hikashop_checkout_shipping_price_full"&gt; &lt;?php if(empty($rate-&gt;shipping_price_with_tax)){ $rate-&gt;shipping_price_with_tax = $rate-&gt;shipping_price; } if(empty($rate-&gt;shipping_price)){ $rate-&gt;shipping_price = $rate-&gt;shipping_price_with_tax; } $taxes = round($rate-&gt;shipping_price_with_tax-$rate-&gt;shipping_price,$this-&gt;currencyHelper-&gt;getRounding($rate-&gt;shipping_currency_id)); $prices_taxes = 1; if(bccomp($taxes,0,5)==0){ $prices_taxes = 0; } if(bccomp($rate-&gt;shipping_price,0,5)===0){ echo JText::_('FREE_SHIPPING'); }else{ echo JText::_('PRICE_BEGINNING'); echo '&lt;span class="hikashop_checkout_shipping_price"&gt;'; if($prices_taxes){ echo $this-&gt;currencyHelper-&gt;format($rate-&gt;shipping_price_with_tax,$rate-&gt;shipping_currency_id); echo JText::_('PRICE_BEFORE_TAX'); echo $this-&gt;currencyHelper-&gt;format($rate-&gt;shipping_price,$rate-&gt;shipping_currency_id); echo JText::_('PRICE_AFTER_TAX'); }else{ echo $this-&gt;currencyHelper-&gt;format($rate-&gt;shipping_price,$rate-&gt;shipping_currency_id); } if($this-&gt;params-&gt;get('show_original_price') &amp;&amp; isset($rate-&gt;shipping_price_orig) &amp;&amp; bccomp($rate-&gt;shipping_price_orig,0,5)){ echo JText::_('PRICE_BEFORE_ORIG'); if($prices_taxes){ echo $this-&gt;currencyHelper-&gt;format($rate-&gt;shipping_price_orig_with_tax,$rate-&gt;shipping_currency_id_orig); }else{ echo $this-&gt;currencyHelper-&gt;format($rate-&gt;shipping_price_orig,$rate-&gt;shipping_currency_id_orig); } echo JText::_('PRICE_AFTER_ORIG'); } echo '&lt;/span&gt; '; echo JText::_('PRICE_END'); } ?&gt; &lt;/span&gt; &lt;/label&gt; &lt;br/&gt; &lt;div class="hikashop_checkout_shipping_description"&gt;&lt;?php echo $rate-&gt;shipping_description;?&gt;&lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php $k = 1-$k; } ?&gt; &lt;/table&gt; &lt;/fieldset&gt; &lt;/div&gt; &lt;?php } ?&gt;

Thank you! Quick response!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

14 years 3 months ago [\#58871](#58871) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#58871 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

It's really easy.

After the line:
foreach($this-&gt;rates as $rate){

just add that line:
if ($this-&gt;coupon-&gt;discount_code != "Wanderlust2012" &amp;&amp; $rate-&gt;shipping_name == "Free Shipping Promo") continue;

Note that it requires that the coupon and the shipping views are on the same step of the checkout workflow.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[gageorion](/forum/user/4374-gageorion "View gageorion's Profile")**
- [![gageorion's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4374.jpg)](/forum/user/4374-gageorion "View gageorion's Profile") Topic Author
- [ Offline](/forum/user/4374-gageorion)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 3 months ago [\#58940](#58940) by [gageorion](/forum/user/4374-gageorion "View gageorion's Profile")  Replied by *[gageorion](/forum/user/4374-gageorion "View gageorion's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#58940 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

Nicolas, THANK YOU! Works lika charm!

Can the something similar be done to apply a *discount* with a coupon code - making the discount apply ONLY if a coupon code is entered? If so, I can start a new thread.

Your support is great... REDSHOP takes DAYS to get back to you. I am sold on Hikashop!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

14 years 3 months ago [\#58991](#58991) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#58991 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

Discounts are not handled in views but in the price algorithms in classes. You can't change them without hacking the core files of HikaShop. Plus it's a more difficult than that.
It's not impossible but it would require proper development.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[gageorion](/forum/user/4374-gageorion "View gageorion's Profile")**
- [![gageorion's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4374.jpg)](/forum/user/4374-gageorion "View gageorion's Profile") Topic Author
- [ Offline](/forum/user/4374-gageorion)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 3 months ago [\#59001](#59001) by [gageorion](/forum/user/4374-gageorion "View gageorion's Profile")  Replied by *[gageorion](/forum/user/4374-gageorion "View gageorion's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#59001 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

Nothing is impossible, however, I know enough to understand what you mean; I thought that might be the case. Oh Well, customer needs to check with me before they advertise discounts the system will not do! It might be a cool feature to allow discounts with a coupon code; maybe add it to the wishlist if it is reasonably feasible.

Thank you, great component great support. I will recommend HS!

Thanks, Nicolas!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

14 years 3 months ago [\#59052](#59052) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#59052 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

I don't really see why that would be useful since you can give the discount amount via the coupon directly.
I don't see a case where you would have to use a coupon+discount system like you want instead of just a coupon.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")**
- [![woonydanny's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5795.jpg)](/forum/user/5795-woonydanny "View woonydanny's Profile")
- [ Offline](/forum/user/5795-woonydanny)

Less More

- Posts: 218
- Thank you received: 6
-
-

14 years 2 months ago [\#61680](#61680) by [woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")  Replied by *[woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#61680 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

is there an option in the new version to give free shipping when members enter a code?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 2 months ago [\#61686](#61686) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Apply a discount and free shipping with a coupon](/forum/4-how-to/58719-apply-a-discount-and-free-shipping-with-a-coupon#61686 "Hey, great component.  Question: Is there a simple hack to apply a discount when a coupon code is used? I need a coupon to discount each item from $46 to $40 (every item has the same price thus far.) not just a flat rate or percentage of the total sale.  Also, I found a post about free shipping with a coupon but have not been able to make the following hack work, it breaks the whole page. (not a PHP whiz) I don't suppose you could help in giving a sample of how the code would integrate into the existing view to work? I am messing up the syntax somewhere.  Thank you!")*

Hello,

I think that you should use [ awocoupon](http://awodev.com/product/awocoupon-pro) which can handle it.

Hope this will help you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU4NzE5LWFwcGx5LWEtZGlzY291bnQtYW5kLWZyZWUtc2hpcHBpbmctd2l0aC1hLWNvdXBvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.101 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
