solarsurfer Merchant Van United Kingdom Lid sinds mrt. 2021 solarsurfer 17 sep. 2024 15:08 Hi all. I need to add a small amount of text in the shopping cart, EG "spend over £20 and save 10% enter code GET10. I think the best place is under the words "Shopping Cart". Any chance someone can help me which and where I should add this please ? Just thought, Could I add this in "translation" and use HTML after the words "Shopping cart" ? regards in advance
jackmaessen LiteCart Fan Van Netherlands Lid sinds dec. 2022 jackmaessen 17 sep. 2024 17:24 File: [b]includes/templates/default.catalog/views/box_checkout_cart.inc.php[/b] <div class="card-header"> <h2 class="card-title"> <?php echo language::translate('title_shopping_cart', 'Shopping Cart'); ?> </h2> <!-- below your extra text --> <h3><?php echo language::translate('title_extra_text_shoppingcart', 'Here comes extra text under title Shopping Cart'); ?></h3> </div>``` But better make a vmod for it. Create a new vmod and fill in file pattern: includes/templates/default.catalog/views/box_checkout_cart.inc.php Then on operation 1: Find: ```<section id="box-checkout-cart" class="card"> <div class="card-header"> <h2 class="card-title"> <?php echo language::translate('title_shopping_cart', 'Shopping Cart'); ?> </h2>``` Choose method "after" And in insert field: ```<h3><?php echo language::translate('title_extra_text_shoppingcart', 'Here comes extra text under title Shopping Cart'); ?></h3>``` Edit this line to your own needs