Jump to content

Leaderboard


Popular Content

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

  1. 6 points
    An example : $CLICSHOPPING_ProductsLength->convert($products_dimension_depth, $products_length_class_id, 2) In this case, all the products_dimension_depth will be converted in cm. You can also use the default unit (can be defined in configuration store)
  2. 5 points
    Hello @Patrick, The product length has been introduced because some shipping module takes the length (ups, postcanada, boxtal, fedex ..) You can define different length in function your need. When you create a new shipping app, you can convert the length in function of characteristics of the service. For example, in France, we use the cm but in USA, this is the inch. If you have your length in cm, you can convert automatically in inch . Some others updates resolve bug fix.
  3. 2 points
    Hello @McJordadino, look this module : https://www.clicshopping.org/forum/files/file/124-modules-checkout-shipping-warning/ https://www.clicshopping.org/forum/files/file/123-modules-checkout-shipping-information-banner/ I think ,it can be a response at your problem.
  4. 1 point
    @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> '; } ?>
  5. 1 point
    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>
  6. 1 point
    @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.
  7. 1 point
    @Drack, Thank you, it's usefull

Announcements

×
×
  • Create New...

Important Information

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