Thanks
Maximum Value for a current coupon
- I think this option needs to be added. Will this option be in the next update?
- by maximum value, you mean the maximum amount the coupon can be discounted? If so, it already exists. Under the 'value' field is the 'maximum discount amount'.
- I mean this: if a client orders at specific sum, for example 250$. I have a coupon with Minimum Value set at 200$ then he has a specific discount equal to 5%. And I want to use another coupon with another discount if the sum is, for example, is bigger than 500$ - discount is 10%. So far if I use 2 coupons the discount will summarise and will be 15% and I don't need that - I need a specific coupon to work in defined minimum and maximum value. My question is about a Maximum Value for a specific coupon how can I manage that?
- Oh ok, I see, you can do this with one coupon, a combination coupon:Coupon a: 5% discount, min value 200Coupon b: 10% discount, min value 500....Combo coupon: combination coupon where you add all the coupons created from highest value to lowest, and set process type to first found match. Then use the combo coupon.
Hi, here’s what we got:
I Have 3 coupons for 1 specific category:
1 - 10% discount at Minimum Value of 1000$
2 - 20% discount at Minimum Value of 5000$
3 - 30% discount at Minimum Value of 10000$
Generally, if I put products into a cart with total 7000$ it will apply 2 coupons and will make a discount of 2 coupons 10+20=30% discount. I need avocoupon to apply 1 specific coupon without putting them together. Here’s what I did:
I made a combo coupon added all three coupons and chose process type: first found match.
I published all the coupons and that’s what happened in the cart (real numbers):
I put a product form a needed category into the cart, it’s basic real value is 4118$
A discount that the coupon gave is 782.42$ - it is not 10%, and if I turn off the combo coupon it works fine and the discount is 411,8$ - 10% from the sum.
I turn on the combo coupon and add another item to the cart so the sum is 8236$, and the discount is 2899,07 and I need the avocoupon to switch to the second coupon and give a discount equal to 20% as it was set at the beginning. I chose different process types in the combo coupon and it still doesn’t work – how can we fix this? Thanks
- Do you have all the coupons in automatic discount? If so remove them all except for the combo coupon.
- Yes it works, thanks, but in this case in the cart it shows the name of the combo coupon - is there any possibility to show the name of a specific coupon that is applied at the particular case? A client may not know what discound grid has this category or brand, and it would be much suitable for a client to know what discound is applied in his order, for example "10% discount - 1250$" if sum is bigger and combo coupon uses another coupon, it shows iis name like "20% discount - 2500$" - all the coupons have their names through {customer_display_text:20% discount} - is it possible?
- Unfortunately no, only shows the combo discount name.
One more question. I have two coupons applied for two different items in a cart. The discount sum calculated for all items. How can I display a discount for each coupon before the total discount?
For example
ART Price Discount Total
AC966J 500 950
AC966B 450
Coupon 1 ? 123
coupon 2 ?
- Is this joomla? Virtuemart? You would have to override the cart template, which is here for joomla:www/components/com_virtuemart/views/cart/tmpl/default_pricelist.phpto be overriden here if not already existswww/templates/[YOUR_TEMPLATE]/html/com_virtuemart/cart/default_pricelist.phpThen modify the coupon section.Awocoupon info is found here:
<?php
$awocoupon = AC()->storediscount->get_coupon_session();
?> I have this code:
<?php
// Show applied discount coupon if enabled
?><?php
if (VmConfig::get('coupons_enable') && !empty($this->cart->cartData['couponCode'])) :
?><tr class="cart-coupon-row">
<td class="coupon-form-col" colspan="
" align="left"><?php
echo $subheading_colspan
?><span>
:</span><?php
echo JText::_('COM_VIRTUEMART_COUPON_DISCOUNT')
?><div class="coupon-details">
<span style="color:#fb3f4c">
</span><?php
echo JText::_('COM_VIRTUEMART_COUPON_DISCOUNT_SKIDKA')
?><?php
echo $this->cart->cartData['couponCode'];
?><?php
echo $this->cart->cartData['couponDescr'] ? (' (' . $this->cart->cartData['couponDescr'] . ')' ): '';
?></div>
</td>
<?php
if(VmConfig::get('show_tax')) :
?><td style="color:#fafafa" class="col-tax nowrap" align="right">
<?php
echo $this->currencyDisplay->createPriceDiv('couponTax', '', $this->cart->cartPrices['couponTax'], false);
?></td>
<?php
endif;
?><td class="col-discount"></td>
<td class="col-total nowrap" align="right">
<?php
echo $this->currencyDisplay->createPriceDiv('salesPriceCoupon', '', $this->cart->pricesUnformatted['salesPriceCoupon'], false);
?></td>
</tr>
<?php
endif;
?>Where should i apply yours modify?