Jump to content


This is public support for Products on cms pages. Our extension gives you possibility to show product or list of products on cms pages. Special shortcodes that module uses allows to put a product on any part of cms page contents in your prestashop.
Photo

Prestashop Products on CMS pages


  • Please log in to reply
No replies to this topic

#1 Araneus

Araneus

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 24 March 2025 - 05:03 PM

Hi,

I've noticed that your 'Products on CMS pages' module doesn't account for deactivated products. If a product is deactivated, it is still shown on the CMS page. Thanks as always for your contribution.

Best



#2 Janet scott

Janet scott

    Newbie

  • Members
  • Pip
  • 0 posts

Posted 23 May 2025 - 04:48 AM

Hello,

Deactivated products appearing on CMS pages is likely due to the module not checking the active status in the ps_product table.

Quick Fixes:

  1. Manual: Remove deactivated product IDs from shortcodes in the CMS editor (Preferences > CMS or Design > Pages).
  2. Code: Modify the module to filter active products (WHERE active = 1 in the query). Contact the developer or a PrestaShop expert for help.
  3. Update: Check for module updates on mypresta.eu or PrestaShop Addons that fix this issue.
  4. Alternative: Try modules like "Products on CMS or Anywhere" by PrestaHero, ensuring they filter deactivated products.

For detailed code help, share your PrestaShop version. Thanks for your input!

Best,
Janet Scott.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users