Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by prestamonste

  1. If you want to the video start when open browser, you need to add the param in the iframe:

    <iframe width="560" height="315" src="https://www.youtube.com/embed/MrOAmysdycA?autoplay=1" frameborder="0" allow="autoplay"></iframe>

    And it only auto start on chrome, Edge (not work on firefox).

    If you add the param

    <iframe width="560" height="315" src="https://www.youtube.com/embed/MrOAmysdycA?autoplay=1&mute=1" frameborder="0" allow="autoplay"></iframe>

    The video start on the firefox (but muted).

    You can read more it in here:



    • Like 1
  2. Hi there,

    This is my idea. You need to create a new module to show it.

    1. 1 file js, after loading product list page, it will get the all id products (you can get id_product by product url, data_idproduct, ...) of this page, after that use ajax >> sending this list id_product to front controller of module.

    2. Front controller will get list id_product,

    get the products in the current cart ($product = $this->context->cart->getProducts(true))

    => compare 2 arrays => product in cart

    3. in function success of js, check and show the flag (already in cart)


  3. Hi there,

    In this case, you need to change your theme.

    Step 1:

    Open product.tpl file (via ftp, or cpanel): public_html/themes/your_current_theme/templates/catalog/product.tpl

    Step 2: Add the title of the tab Product customization

    EX: theme classic: go to line code 172 add this pieces code:

    {if $product.is_customizable && count($product.customizations.fields)}
                          <li class="nav-item">
                            aria-controls="customizations">{l s='Product customization' d='Shop.Theme.Catalog'}</a>

    Step 3: Add the content of tab Product customization

    {* Add the content of tab Product customization*}
                     <div class="tab-pane fade in" id="customizations" role="tabpanel">
                     {if $product.is_customizable && count($product.customizations.fields)}
                        {block name='product_customization'}
                          {include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
                      {* End of add the content of tab Product customization*}

    Step 4: Remove old code of Product customization

    Hope it helpful.


    6-13-2020 4-23-29 PM.jpg

    6-13-2020 4-22-02 PM.jpg

    6-13-2020 4-25-02 PM.jpg

    6-13-2020 4-28-33 PM.jpg

  4. On 8/29/2019 at 1:10 AM, rushaboswal.rdx said:

    Hello all.
    Im getting spam Referrer(Website visitors) From random websites i dont know about. Im getting worried that might affect my ranking.

    A lot of them are porn website.
    Can anybody please help me to get rid of them please?
    Thank you.

    Hi there,

    In this case, you can use a module to block it or you can add the custom code to check email and email content in the ContactController.php (override this controller and put it in the folder: public_html/override/controllers/front and delete cache file with ps 1.6 before testing). This is my custom code for my site (PS I added 2 functions: isSpamContentEmail() and isSpamEmail(). You can see more it in the attachment file.



  5. Hi there,

    There are 2 ways to fix this error.

    1. Update your shop to the last version

    2. Change the PS core:

    • Open file public_html/classes/Customer.php change validate lastname, firstname from name to isCustomerName & save file


    • Open class public_html/classes/Validate.php: Add the new function to validate customer name & save file & go to front end and double test

    public static function isCustomerName($name)
            $validityPattern = Tools::cleanNonUnicodeSupport(

            return preg_match($validityPattern, $name);


    Hope that helps! :D

  6. Hi James,

    You can add it by the way.

    Step 1: PS 1.6 Go to tab Price Rules >> Cart Rules >> Add new cart rule (PS1.7: Catalog >> Discounts)


    Step 2: Add conditions for cart rule


    Step 3: Add discount & related product.


    It's done.

    Or you can use our module to add accessories, discount for main product & accessories (very quick), show accessories & add main product & accessories together with 1 click at the front end.


    You can test it in here:

    Back office:

    https://multi-accessories.demoprestamonster.com/adm/index.php?controller=AdminLogin&amp;[email protected]&amp;password=demodemo

    Front end:




  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More