keeralesh Posted August 30, 2014 Share Posted August 30, 2014 Hello, I would like to ask you for advice. I have a problem with a loyalty system, namely, that if the transfer of loyalty points into a voucher in the customer account, voucher has default parameters unsatisfactory. Specifically, I do not care about the field: "Tax excluded / Tax included" and "Shipping excluded / Shipping included." Unfortunately, by default, have generated coupons to the first position in these fields values "Tax excluded" and "Shipping excluded." I would, however, need to wrap up VAT price coupon and use it at the price of shipping. Is it possible to swap these two fields with the first to be in default, and each new generated coupons are generated just with this data? So with the price including VAT and the cost of shipping? Thanks so much! (I'm sorry for my bad English) Ales Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2014 Share Posted August 30, 2014 go to: /adminXXXX/themes/default/template/controllers/cart_rules/conditions.tpl you can find there code like: <select name="minimum_amount_shipping"> <option value="0" {if $currentTab->getFieldValue($currentObject, 'minimum_amount_shipping') == 0}selected="selected"{/if}>{l s='Shipping excluded'}</option> <option value="1" {if $currentTab->getFieldValue($currentObject, 'minimum_amount_shipping') == 1}selected="selected"{/if}>{l s='Shipping included'}</option> </select> just switch position of <option> param: <select name="minimum_amount_shipping"> <option value="1" {if $currentTab->getFieldValue($currentObject, 'minimum_amount_shipping') == 1}selected="selected"{/if}>{l s='Shipping included'}</option> <option value="0" {if $currentTab->getFieldValue($currentObject, 'minimum_amount_shipping') == 0}selected="selected"{/if}>{l s='Shipping excluded'}</option> </select> Link to comment Share on other sites More sharing options...
keeralesh Posted August 30, 2014 Author Share Posted August 30, 2014 Hello, thank you for your advice. I changed the code, but still generated coupons added VAT. Coupons can be applied only to the cost shipping excluded. :-( Ales Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2014 Share Posted August 30, 2014 you have to do the same with <option> for taxes :-) you can find code in the file i mentioned at the moment i haven't got possibility to check code (im on mobile) but you can find it there easily, search for "tax excluded" and also switch them (<option> elements) Link to comment Share on other sites More sharing options...
keeralesh Posted August 31, 2014 Author Share Posted August 31, 2014 Hello, Yes, I made it. But if the customer generates coupon and apply it in your next order, the coupon plus the VAT and I need the discount coupon was finally with VAT. Problem is also in the minimum price for which you can apply a coupon. I need a coupon to apply minimum Amount including TAX. Link to comment Share on other sites More sharing options...
Status Publicidad y Market Posted November 30, 2014 Share Posted November 30, 2014 Hello, Yes, I made it. But if the customer generates coupon and apply it in your next order, the coupon plus the VAT and I need the discount coupon was finally with VAT. Problem is also in the minimum price for which you can apply a coupon. I need a coupon to apply minimum Amount including TAX. hi i have same problem and i have no idea about solve this. do Someone know how to solve that? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now