# Configuration for the plugin "p123coupon_lib" plugin.tx_p123coupon { templateStdWrap = messageStdWrap = contentStdWrap.wrap = defaultCoupons = specialCoupons = databaseCoupons = _CSS_DEFAULT_STYLE ( .tx-p123coupon { display: inline-flex; width: 100%; margin-top: 5%; align-items: flex-end; justify-content: flex-end; } .tx-p123coupon form{ border: dashed 1px #999999; padding: 3%; } .tx-p123coupon-input-text { width: 100%; float: left; } .tx-p123coupon-ctrl { display: inline-block; margin-top: 1%; } .tx-p123coupon-button { float: right; margin-top: 1%; } .tx-p123coupon-message.errormsg {color: red;} .tx-p123coupon-message.successmsg {color: green;} ) } plugin.tx_p123_pi { basket.p123search.if { value = ZZ_coupon isInList.field = group negate = 1 } } plugin.tx_p123checkout_pi1 { joinMedia.append = COA joinMedia.append { 10 = TEXT 10.value = ZZ_coupon 10.if.isTrue { preUserFunc = tx_p123checkout_pi1->hook preUserFunc { funcName = basket_find dontIncludeSetup = 1 group = ZZ_coupon rKey = count format = 0 } } 10.wrap = , } extensions.stdWrap.outerWrap.cObject.if { value = ZZ_coupon isInList.field = format negate = 1 } positions { label { override { field = pos split { token = || cObjNum = 1 returnKey = 0 1.current = 1 } if.value = ZZ_coupon if.isInList.field = group } } } templateStdWrap { postCObject = FILE postCObject.stdWrap.if.value.data = TSFE:id postCObject.stdWrap.if.equals = {$plugin.tx_p123_pi.pageBasket} postCObject { file = EXT:p123coupon/res/template.html } } } plugin.tx_p123paypal_pi2 { joinMedia < plugin.tx_p123checkout_pi1.joinMedia } plugin.tx_p123checkout_pi4 { paymentHooks.9.joinMedia < plugin.tx_p123checkout_pi1.joinMedia mailTemplate.html.subparts.tx_p123checkout_pi1 { joinMedia.append = COA joinMedia.append { 10 =