Jump to content


Popular Content

Showing content with the highest reputation on 04/20/2019 in all areas

  1. 1 point

    value output

    The resolution from @MrPhil is very good. Clear and effective!!! @YePix Your explode isn't right. You don't need an start or an end tag. I recommand you shoul read here https://www.php.net/manual/en/function.explode.php
  2. 1 point

    Discount Code BS

    Hello Kevin @Kevin.Dallas, Thank You! I'm back and had a look into the package. You'll find the shopping cart content module in: catalog/includes/modules/content/shopping_cart/ Please see instructions: Discount_Codes_4.2_for_BS_install: 1. Copy the new files to your osCommerce shop, preserving the directory structure. ... *OPTIONAL catalog/includes/modules/content/shopping_cart/cm_sc_discount_code.php catalog/includes/modules/content/shopping_cart/templates/discount_code.php catalog/includes/languages/english/modules/content/shopping_cart/cm_sc_discount_code.php ... *OPTIONAL Install the Content module under Administration -> Modules -> Content -> Install Module -> Discount Code -> Install Module. To be able to use the shopping cart content module you need to have one of the following conditions fullfilled: - use a newer BS version which have the content module call already included in shopping_cart.php ( edge 2.3.4 is not a clear reference, there are hundreds of versions. Important in this case is to have the content module call included in shopping_cart.php) - use modular shopping cart - add manually the content module call to your shopping_cart.php: <div class="clearfix"></div> <div class="row"> <?php echo $oscTemplate->getContent('shopping_cart'); ?> </div> You may consider to use ship in cart which will show shipping costs and real order totals (including discount) already on the shopping cart page. On that way your customers know what they will have to pay before using the PayPal express checkout button: Ship In Cart BS reloaded Best regards Rainer PS: Next time, before starting to work on an addition, just ask here in the forum, there may already exist a solution 😉.