Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/22/19 in all areas

  1. @Julie, This code can help you, replace the product name by this : <?php $products = $CLICSHOPPING_ShoppingCart->get_products(); foreach ($products as $k => $v) { $name = $v['name']; $image = HTML::image($CLICSHOPPING_Template->getDirectoryTemplateImages() . $v['image'], HTML::outputProtected($name), 50, 50, null, true); echo ' <div class="row"> <div class="col-md-12"> <li class="headerMultiTemplateDefaultLi">&nbsp;&nbsp; <div class="float-md-left">' . $v['quantity'] . ' - ' . $name . '</div> <div class="float-md-right text-md-right">' . $CLICSHOPPING_Currencies->display_price($v['final_price'], $CLICSHOPPING_Tax->getTaxRate($v['tax_class_id']), $v['quantity']) . '</div> </li> </div> </div> '; } ?>
    1 point
  2. Yes, of course A very simple approach. Inside modules_header/template/ add this files below After go in your administration Design/Layout/Header, edit your multi-template option and select your new template This example displays the logo and the login link and log off link if you are connected. create a file: my_new_header_test.php add this inside : <?php /** * * @copyright 2008 - https://www.clicshopping.org * @Brand : ClicShopping(Tm) at Inpi all right Reserved * @Licence GPL 2 & MIT * @licence MIT - Portion of osCommerce 2.4 * @Info : https://www.clicshopping.org/forum/trademark/ * */ use ClicShopping\OM\HTML; use ClicShopping\OM\CLICSHOPPING; ?> <div class="col-md-<?php echo $content_width; ?>"> <div class="row"> <div class="separator"></div> <span class="col-md-4"><?php echo $logo_header; ?><br /><br /></span> <?php if (!$CLICSHOPPING_Customer->isLoggedOn()) { ?> <span class="col-md-8 text-md-right"><?php echo HTML::link(CLICSHOPPING::link(null, 'Account&Login'), CLICSHOPPING::getDef('modules_header_multi_template_create_account')); ?></span> <?php } else { ?> <span class="col-md-8 text-md-right"><?php echo HTML::link(CLICSHOPPING::link(null, 'Account&LogOff'), CLICSHOPPING::getDef('modules_header_multi_template_account_logoff'));?></span> <?php } ?> </div> </div>
    1 point
  3. @Grimoire, @Julie, Thank you, a newbie like me it's interesting to understand how works ClicShopping. It's simple when we tried to use a new tool.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use