我已经搜索了几个小时了,但我没有得到任何有用的东西。
在BigCommerce模板主题中,是否可以为order-confirmation.html
页面自定义/创建自定义模板?特别是{{checkout.order_confirmation_content}}
的内容
如果没有,是否有变通方法或其他方法?我的意思是,肯定有一种方法可以更改该页面的HTML。
注意:
我想要更改HTML,而不仅仅是CSS
发布于 2018-06-04 08:40:40
目前,唯一支持编辑确认页内容的结账流程是Custom One-Page checkout (面向开发人员)。Developer Checkout使您可以完全访问签出和确认页面的html。您可以在控制面板中的高级Settings>Checkout下访问此设置。
启用后,导航到Storefront>Checkout模板文件(您可能需要刷新才能看到此选项出现)。订单确认页面为order.html。
发布于 2019-09-18 09:29:02
优化的单页签出流程/签出/订单确认通过向本地化添加语言字符串来支持主题\templates\pages\order-confirmation.html的自定义。
从https://developer.bigcommerce.com/stencil-docs/localization/multi-language-checkout获取opt-checkout-en.json
的副本
{
"optimized_checkout": {
"order_confirmation": {
"order_number_text": "Your order number is <strong>{orderNumber}</strong>",
"order_pending_review_text": "Your order was sent to us but is currently awaiting payment. Once we receive the payment for your order, it will be completed. If you've already provided payment details then we will process your order manually and send you an email when it's completed.",
"order_with_downloadable_digital_items_text": "You can download your digital purchases by clicking the links on this page, or by logging into your account at any time. There is also a download link in your confirmation email, which should be arriving shortly.",
"order_with_support_number_text": "An email will be sent containing information about your purchase. If you have any questions about your purchase, email us at <a ng-href=\"mailto:{supportEmail}?Subject=Order {orderNumber}\" target=\"_top\">{supportEmail}</a> or call us at <a href=\"tel://{supportPhoneNumber}\">{supportPhoneNumber}</a>.",
"order_without_downloadable_digital_items_text": "Once we receive your payment, we’ll send a confirmation email with a link to download your digital purchases.",
"order_without_support_number_text": "An email will be sent containing information about your purchase. If you have any questions about your purchase, email us at <a ng-href=\"mailto:{supportEmail}?Subject=Order {orderNumber}\" target=\"_top\">{supportEmail}</a>.",
"thank_you_customer_heading": "Thank you {name}!",
"thank_you_heading": "Thank you!",
"order_status_update_facebook_messenger_heading": "Get instant updates of your order to Messenger"
}
}
}
我不清楚supportEmail是从哪里来的。
https://stackoverflow.com/questions/50671207
复制相似问题