Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Posts posted by raiwa

  1. Update uploaded with the above fix:

    Discount Code 5.1.1. Phoenix

    For CE Phoenix 1.0.x.x (At least up to 1.0.2.x.)

    Please apply this fix also to previous versions. (replace only ot_discount.php module)

    Older versions, FROZEN, EDGE and Gold BS3, please use Discount_Codes_4.4.3_BS

    Version 5.1.1 Phoenix Changes:
    - Fix for negative order total showing if fixed amount discount is bigger than order subtotal. Thanks to @Omar_one for the report and testing

  2. Updated for Phoenix


    Phoenix 1.0.2.x
    PHP: 7.0-7.3
    This version has not been tested with earlier Phoenix versions.
    You will need to apply at least the following database update to use it with Phoenix 1.0.0.x or 1.0.1.x.:
    You may also need to update custom.css

             - updated to Phoenix 1.0.2.x
             - replaced ht-module with sidewide hook
             - updated coding to match Phoenix product listings and config entries
             - simplified modules and removed config entries to show always product name, image and price
             - simplified description length limit


  3. @Omar_one,

    I just checked and all works like expected for me.

    1. discount limited to 1 use in: "Number of use" box => let's me use the discount for one order per customer

    2. discount limited to one customer selected in "Customers" list => lets only use the discount for this concrete customer (more than one is possible)

    • Which did you use and what exact happens.
    • Which exact Discount Code BS version are you using



  4. Hello Omar @Omar_one,

    The fact that it aplies only 39€ is correct as it's supposed you will not "pay" to the customer the difference of 11 €. It is coded like this, max discount is always order subtotal.

    The tax is not shown as there is zero subtotal ergo tax is also zero.

    What is wrong is the negative total. It should be 8€, shipping is not included in discount.  I checked the code and it seems there is a bug inherit since time.

    Please change the fillowing in the ot_discount.php module:

    Find line 208-212:

                      if (!empty($order_tax)) {
                        $order->info['tax'] = $order_tax;
                      } else {
                        $order->info['total'] -= $discount;

    and change to:

                      if (!empty($order_tax)) {
                        $order->info['tax'] = $order_tax;

    Please confirm and I'll upload this fix.

  5. Had a fast look and it looks great.

    The only small issue I saw on a first glance is that the category image thumbs on the home page loose quality if zooming in. Try to set the image size according to the zoom in size (about 25% bigger) to have the images better shown.

  6. ES updated.

    5 minutes ago, burt said:

    Notes for Language Maintainers

    @cupidare DE @raiwa ES @Fredi RU

    • /includes/languages/english.php
    • /includes/languages/english/modules/boxes/bm_reviews.php


    There are also changes in:

    - includes/languages/english/modules/content/index/cm_i_card_products.php
    - includes/languages/english/modules/content/index_nested/cm_in_card_products.php

  7. 8 hours ago, stefan1959 said:

    Only one solution, sorry that should have a read

    tep_db_query("insert into " . TABLE_REVIEWS_DESCRIPTION . " (reviews_id, languages_id, reviews_text) values ('" . (int)$insert_id . "', '" . (int)$languages_id . "', '" . $review . "')");
    tep_db_query("insert into " . TABLE_REVIEWS_DESCRIPTION . " (reviews_id, languages_id, reviews_text) values ('" . (int)$insert_id . "', '" . (int)$languages_id . "', '" . tep_db_input($review) . "')");

    The code is safe from injection as far as what i seen, they created  functions to do that in /includes/functions/database.php

    I'm no expert either so maybe i can be corrected :)


    this solution should do it

  8. 31 minutes ago, ArtcoInc said:

    First, thank you @raiwa . The modular shopping cart is a great improvement. That said ...

    With very small screens, the product_listing module can't shrink enough, and creates a left-right scroll bar beneath it.


    In my testing, it happens when the screen width drops below 429 px. I don't know how many people are still using devices with screens this small, and I also acknowledge that there isn't much one can do to fit a large box into a small screen.

    Just an observation ...


    PS: I just checked, and over 80% of my mobile visitors have screen widths below this 🙄

    2 possibilities to fix it:

    1. Turn mobile to landscape

    2. Hide stock column on mobile view