Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by prestamonste

  1. In this case, please open file: public_html/src/Adapter/EntityMapper.php go to line code 99 Change from if (array_key_exists($key, $entity_defs['fields']) || array_key_exists($key, $entity)) { To if (isset($entity_defs['fields'][$key]) || isset($entity->{$key})) { Save file and double test.
  2. Hi there, This is product attribute, you can change it(public name) in the tab: Catalog >> product attributes Thanks,
  3. Hi there, I tested, there is no error. You can try to clear your browser cache and double test. Thanks,
  4. Hi there, This is module my account block (ps_customeraccountlinks). You can see it in the folder: public_html/modules/ps_customeraccountlinks Thanks,
  5. Hi there, With mp4 video, it doesn't auto play, because after saving form, the attribute controls autoplay has been removed. Thanks,
  6. 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: https://stackoverflow.com/questions/7281765/how-to-embed-an-autoplaying-youtube-video-in-an-iframe
  7. Yes, you can see it in here: https://ps17.demoprestamonster.com/ In the block custom text block
  8. Hi there, I tested it on PS It works fine. You can see it in here (Tab product detail): https://ps17.demoprestamonster.com/home-accessories/19-customizable-mug.html And you need to add with source code:
  9. 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) Thanks,
  10. Hi there, Did you turn on the option "Allow iframes on HTML fields"? I checked, it works fine on the PS version 1.7.x. Thanks,
  11. Hi there, In the table image_type, there are no columns id_shop and active. => Your sql is wrong. Thanks,
  12. Hi there, This discount included the shipping cost. 1830 + 35 = 1865 * 0.08 = 149.2 Thanks,
  13. Yes, if you a buyer, there is no option to change your email. If you a seller, you can change it in here: https://addons.prestashop.com/en/seller-account
  14. In the product list, you can change it by the way: Step 1: Open file (via ftp or cpanel ) : public_html/themes/your_theme/templates/catalog/_partials/products.tpl Step 2: copy block pagination from line code 35 to 37 and paste it on the line 26. Step 3: Save file, turn off all the cache options at your back office, clear your browser cache and test.
  15. Hi there, You can check the: Number of decimals in the tab General.
  16. 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"> <a class="nav-link" data-toggle="tab" href="#customizations" role="tab" aria-controls="customizations">{l s='Product customization' d='Shop.Theme.Catalog'}</a> </li> {/if} 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} {/block} {/if} </div> {* End of add the content of tab Product customization*} Step 4: Remove old code of Product customization Hope it helpful.
  17. 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. Thanks, ContactController.zip
  18. You can change it in the tab: Shop Parameters >> General
  19. Hi there, You can try this module: https://addons.prestashop.com/en/point-of-sale-pos/13654-rockpos-point-of-sale-and-omnichannel.html Thanks,
  20. 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( '/^(?:[^0-9!<>,;?=+()\/\\@#"°*`{}_^$%:¤\[\]|\.。]|[\.。](?:\s|$))*$/u' ); return preg_match($validityPattern, $name); } Hope that helps!
  21. Hi there, The tab content has been hidden by Css. In this case, please turn off the option cache, Smart cache for CSS (from your back office). After that, go to your front end and check and remove css code (via ftp or cpanel).
  22. 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. https://addons.prestashop.com/en/cross-selling-product-bundles/23426-multi-accessories-pro.html 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: https://multi-accessories.demoprestamonster.com/en/casual-dresses/3-printed-dress.html Thanks,
  • Create New...

Important Information

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