标签: cartthrob

如何在CartThrob会话中存储自定义字段数据

我在CartThrob结帐流程的最后一页设置了"礼品留言"自定义字段.这是我的代码示例:

{exp:cartthrob:checkout_form return="/checkout/billing/process"}
    <textarea id="gift_message" name="gift_message">
         {if gift_message}
              {gift_message}
         {/if}
    </textarea>
{/exp:cartthrob:checkout_form}
Run Code Online (Sandbox Code Playgroud)

如果订单已提交且出现错误,则不会保留"礼品消息"数据.如何强制它保存到CartThrob会话?

expressionengine cartthrob

1
推荐指数
1
解决办法
375
查看次数

CartThrob中的优惠券代码字段在哪里?

CartThrob文档的此页面上列出了coupon_code变量:http://cartthrob.com/docs/tags_detail/coupon_info/index.html#coupon_code

这个变量的确切数据来自何处?默认优惠券渠道上没有"优惠券代码"字段可以设置.

有任何想法吗?

expressionengine cartthrob

0
推荐指数
1
解决办法
325
查看次数

标签 统计

cartthrob ×2

expressionengine ×2