wydydygibus Posted January 3, 2016 Share Posted January 3, 2016 Hi all, how to show up vouchers box from my module even if cart rules has not any rule? Link to comment Share on other sites More sharing options...
vekia Posted January 4, 2016 Share Posted January 4, 2016 hello in this case you have to switch PS_CART_RULE_FEATURE_ACTIVE value to 1 in ps_configuration table (PS_CART_RULE_FEATURE_ACTIVE is a name field) Link to comment Share on other sites More sharing options...
wydydygibus Posted January 4, 2016 Author Share Posted January 4, 2016 Thanks! And I have 1 more question. Its they any impossible check what code client put in this field? Link to comment Share on other sites More sharing options...
vekia Posted January 4, 2016 Share Posted January 4, 2016 there is one possiblity at the moment: 1) you can find used coupons on order details page. You can find there all coupons that customer used during the checkout process. any other possibility doesnt exist at the moment, so you can see only used coupons. Link to comment Share on other sites More sharing options...
wydydygibus Posted January 4, 2016 Author Share Posted January 4, 2016 (edited) Ohh thats sad I thought it would be a problem. So I must created own textfiled, but yesterday I searched the entire internet, and I found nothing.Maybe You now how to create custom textfield in the cart? Thanks. Edited January 4, 2016 by wydydygibus (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 4, 2016 Share Posted January 4, 2016 for what purposes you want custom textfield? Link to comment Share on other sites More sharing options...
vekia Posted January 5, 2016 Share Posted January 5, 2016 but in that way works default coupon field :-) Link to comment Share on other sites More sharing options...
wydydygibus Posted January 5, 2016 Author Share Posted January 5, 2016 To put my own cupon code field, and checking codes on my server. If code exist on the server- give discount for customer Link to comment Share on other sites More sharing options...
wydydygibus Posted January 5, 2016 Author Share Posted January 5, 2016 But default coupon field check only coupons in the shop, and I must do something like that: 1. Get code from coupon field.2. Send this code to the server3. If code exist in server, create it on shop and give discount. Yesterday you wrote: "you can find used coupons on order details page. You can find there all coupons that customer used during the checkout process." So I understood I can't take the code directly entered by the customer in the field. Have I misunderstood? 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