on 09-18-2017 1:23 PM
Hi Experts,
I have created some serial vouchers and promotional vouchers, but how to redeem those vouchers on check out page. usually we can see text box in e-commerce sites. please help, how to integrate that text box. let me know any procedure for that functionality.
Thanks, Sravan
In Hybris 6.xx versions, voucher redemption text box and button are already present in the cart page. You just need to apply any voucher. In older versions, as far as I remember, there is no placeholder to apply voucher in the storefront. It is available for backoffice and hmc. You can create your own placeholder for redeed releasing voucher. Make sure proper service methods are called while applying or releasing voucher. Also, invalidation should be created. PFB voucher links for older versions: https://wiki.hybris.com/display/release5/voucher+Extension
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sravana,
Check cartVoucher.tag file. It contains the view logic to capture voucher code and pass the value to controller as a ajax call. Basically you need to have a form , take input as a text input and have one button to make a call to controller.Now, make a ajax call .In controller capture this value and recalculate your cart if valid voucher code is given and related prices and proceed as per requirement.
Regards, Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.