Editor - More coupon setting
This is a modal that opens with the function showOfferSetting()
in the view theme/editor/extensions.html to manage the details of an offer or coupon and allow you to update your data
Main Models
-curCoupon
curCoupon.rate_type
curCoupon.rate
curCoupon.minimum
curCoupon.limit
curCoupon.start
curCoupon.end
Utility Functions
hideOfferSetting()
updateOffer(offer)
addOffer(offer)
Example of base theme
curCoupon.rate_type
curCoupon.rate
curCoupon.minimun
curCoupon.limit
curCoupon.start
curCoupon.end
NOTE: If something changes here, activate the function
updateOffer(curOffer)
Updated almost 6 years ago