我如何重命名opencart 2.0中的步骤
How can i rename the step in opencart 2.0
我使用的是 opencart 2.0,在结账时我得到了类似
的选项
**Checkout**
Step 1: Checkout Options
Step 2: Billing Details
Step 5: Payment Method
Step 6: Confirm Order
如何确定顺序并按顺序显示,或者显示比只显示步骤及其编号更合适、更漂亮的内容(如刻度线)。
如果要重命名,则必须编辑此文件:
catalog/language/english/checkout/checkout.php
更改这些变量的值(非常简单):
$_['text_checkout_option'] = 'Step 1: Checkout Options';
$_['text_checkout_payment_address'] = 'Step 2: Billing Details';
$_['text_checkout_shipping_address'] = 'Step 3: Delivery Details';
$_['text_checkout_shipping_method'] = 'Step 4: Delivery Method';
$_['text_checkout_payment_method'] = 'Step 5: Payment Method';
$_['text_checkout_confirm'] = 'Step 6: Confirm Order';
例如:
$_['text_checkout_option'] = 'First: Your text';
$_['text_checkout_payment_address'] = 'Second....your text';
问候,
我使用的是 opencart 2.0,在结账时我得到了类似
的选项**Checkout**
Step 1: Checkout Options
Step 2: Billing Details
Step 5: Payment Method
Step 6: Confirm Order
如何确定顺序并按顺序显示,或者显示比只显示步骤及其编号更合适、更漂亮的内容(如刻度线)。
如果要重命名,则必须编辑此文件:
catalog/language/english/checkout/checkout.php
更改这些变量的值(非常简单):
$_['text_checkout_option'] = 'Step 1: Checkout Options';
$_['text_checkout_payment_address'] = 'Step 2: Billing Details';
$_['text_checkout_shipping_address'] = 'Step 3: Delivery Details';
$_['text_checkout_shipping_method'] = 'Step 4: Delivery Method';
$_['text_checkout_payment_method'] = 'Step 5: Payment Method';
$_['text_checkout_confirm'] = 'Step 6: Confirm Order';
例如:
$_['text_checkout_option'] = 'First: Your text';
$_['text_checkout_payment_address'] = 'Second....your text';
问候,