bondimedical Posted May 6, 2016 Share Posted May 6, 2016 I am finding the discounts are not showing on the order complete page of the CubeCart 5 mobile skin. I have had a look at content.receipt.php and found this code: <div class="subtotals"> <p><span class="price">{$SUM.subtotal}</span> {$LANG.basket.total_sub}</p> <p><span class="price">{$SUM.shipping}</span> {$LANG.basket.shipping}</p> {foreach from=$TAXES item=tax} <p><span class="price">{$tax.value}</span>{$tax.name}</p> {/foreach} </div> {if $DISCOUNT} <div class="discounts"> <p><span style="color: #FF0000" class="price">{$SUM.discount}</span> {$LANG.basket.total_discount}</p> </div> {/if} <div class="total"><span class="price">{$SUM.total}</span> {$LANG.basket.total_grand}</div> Why is the discount not showing? Quote Link to comment Share on other sites More sharing options...
bondimedical Posted May 11, 2016 Author Share Posted May 11, 2016 This appears to be a bug with the mobile skin and the simplest solution is to move the line which displays the discounts into the "subtotals" div <div class="subtotals"> <p><span class="price">{$SUM.subtotal}</span> {$LANG.basket.total_sub}</p> <p><span class="price">{$SUM.shipping}</span> {$LANG.basket.shipping}</p> <p><span style="color: #FF0000" class="price">{$SUM.discount}</span> {$LANG.basket.total_discount}</p> {foreach from=$TAXES item=tax} <p><span class="price">{$tax.value}</span>{$tax.name}</p> {/foreach} </div> You may remove the style="color: #FF0000" if you don't want the discount to appear red. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.