I'm working in zen-cart and my issue is, in check out page there comes a section called shopping cart contents which displays the items name and content and total amount.
Later there come the sub-total section, parcel, tax and total section
开发者_开发知识库I'm not sure from where these values come from and how can I edit or configure them.
Please help
Are you wondering about the labels for subtotal, tax, etc. or the values?
The labels are controlled by files in includes/languages/english/modules/order_total. For instance, the label "Sub-Total" is in ot_subtotal.php in that directory.
You can change these by creating a directory with the name of your template in includes/languages/english/modules/order_total, copying the relevant files in, and editing them there.
The values are computed by files in includes/modules/order_total. But the values these files return are set according to flags and values you set in your admin panel, such as tax rate and so forth.
精彩评论