|

Display Total Order Without Tax Index Page Backend
Posted 13 June 2017 - 11:25 AM #1
Posted 15 June 2017 - 06:39 PM #2
Hello,
First variant, you can create any module and add the template
\design\themes\responsive\templates\addons\[ADDON_NAME]\hooks\products\product_data.post.tpl
Then add this code into the file
{********************** Old Price *****************} {capture name="old_price_`$obj_id`"} {if $show_price_values && $show_old_price} <span class="cm-reload-{$obj_prefix}{$obj_id}" id="old_price_update_{$obj_prefix}{$obj_id}"> {hook name="products:old_price"} {if $product.discount} <span class="ty-list-price ty-nowrap" id="line_old_price_{$obj_prefix}{$obj_id}">{if $details_page}{__("old_price")}: {/if}<span class="ty-strike">{include file="common/price.tpl" value=$product.original_price|default:$product.base_price span_id="old_price_`$obj_prefix``$obj_id`" class="ty-list-price ty-nowrap"}</span></span> {elseif $product.list_discount} <span class="ty-list-price ty-nowrap" id="line_list_price_{$obj_prefix}{$obj_id}">{if $details_page}<span class="list-price-label">{__("list_price")}:</span> {/if}<span class="ty-strike">{include file="common/price.tpl" value=$product.list_price span_id="list_price_`$obj_prefix``$obj_id`" class="ty-list-price ty-nowrap"}</span></span> {/if} {/hook} <!--old_price_update_{$obj_prefix}{$obj_id}--></span> {/if} {/capture} {if $no_capture} {assign var="capture_name" value="old_price_`$obj_id`"} {$smarty.capture.$capture_name nofilter} {/if} {********************** Price *********************} {capture name="price_`$obj_id`"} <span class="cm-reload-{$obj_prefix}{$obj_id} ty-price-update" id="price_update_{$obj_prefix}{$obj_id}"> <input type="hidden" name="appearance[show_price_values]" value="{$show_price_values}" /> <input type="hidden" name="appearance[show_price]" value="{$show_price}" /> {if $show_price_values} {if $show_price} {hook name="products:prices_block"} {if $product.price|floatval || $product.zero_price_action == "P" || ($hide_add_to_cart_button == "Y" && $product.zero_price_action == "A")}
You can edit the code above according to your needs.
Another variant is to edit the blocks in the file design\themes\responsive\templates\common\product_data.tpl
The third variant is to hire a developer to help you. It won't cost a lot.
Best regards, Alt-team.
ADD-ONS | Web development service | CS-Cart dedicated developers
Buy MULTIVENDOR - USD 1150 | Buy CS-CART LICENCE - USD 1080
Email - manager@alt-team.com | Skype - Altteam
Posted 13 July 2017 - 03:27 PM #3