自定义模板订单确认页面

时间:2018-06-03 21:37:19

标签: e-commerce bigcommerce

我一直在搜索这几个小时,但我没有得到任何有用的东西。

在BigCommerce Stencil主题中,是否可以为order-confirmation.html页面自定义/创建自定义模板?特别是{{checkout.order_confirmation_content}}

的内容

如果没有,是否有变通方法?我的意思是必须有办法更改该页面的 HTML

注意:

我想更改 HTML ,而不仅仅是 CSS

2 个答案:

答案 0 :(得分:0)

目前,支持编辑确认页面内容的唯一结帐流程是Custom One-Page Checkout(面向开发人员)。开发人员结帐可让您完全访问结帐和确认页面的html。您可以在控制面板的“高级设置”>“结帐”下访问此设置。

启用后,导航到店面>结帐模板文件(您可能需要刷新才能看到此选项出现)。订单确认页面是order.html。

答案 1 :(得分:0)

优化的一页结帐流程/ checkout / order-confirmation通过在本地化中添加语言字符串来支持对theme \ 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的来源。