Skip to main content

Show order Weight in checkout

8 months 3 weeks ago #370406 by dailybread
-- url of the page with the problem -- : www.dailybread.co.uk
-- HikaShop version -- : 6.2.0
-- Joomla version -- : 3
-- PHP version -- : 8

I want the customer to see the total weight of the order during checkout.

This is due that we have different charges based on the weight and so it would help the customer to add or remove products.

Thank you

Please Log in or Create an account to join the conversation.

8 months 3 weeks ago #370414 by nicolas
Hi,

There is no option for that. However, it's possible with a small view override.
Go in the menu Display>Views, edit the checkout / show_block_cart.php view file, and after:
Code:
</table>
you could add something like that:
Code:
<span class="cart_total_weight">Cart Total Weight: <?php echo rtrim(rtrim($cart->weight,'0'),',.').' '.JText::_($cart->weight_unit); ?></span>
and that would add the total weight at the bottom of the cart display view on the checkout.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum