Jump to content

MadFrenchie

Members
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Location
    France
  • Activity
    Freelancer

MadFrenchie's Achievements

Newbie

Newbie (1/14)

1

Reputation

1

Community Answers

  1. I figured it out, Mea Culpa. Here is the code, perhaps it might help: if (Module::isEnabled('ModuleName')) @El Patron, Ow. Just in time bro' XD Thanks anyways. Best Regards, MF
  2. [sOLVED] Heya folks, I'm stuck in my code trying to figure out how to check whether my module is enabled or not? when it gets uninstalled, the 'active' field in 'Prefix_module' turns to 0 which makes sense, however nothing happens when I simply "disable" it. Is there another table which is in charge of this task? Any help in these regards would be grandly appreciated. Best regards, MF
  3. Heya folks, I put my pdf files within "shared/img/cms". And I set up my config.base.php like this: define('CONFIG_UPLOAD_VALID_EXTS', 'pdf,gif,jpg,png'); define("CONFIG_VIEWABLE_VALID_EXTS", 'pdf,gif,jpg,png'); But I still can't see my PDF files. Any tips in these regards would be much appreciated. Thanks a lot in advance Best Regards, MF
  4. Thanks for the tips bro', I finally gave up using existing objects instead: $objCat = new Category($row['id_category']); $secResult[] = $objCat->getProducts(2, 1, 100); This made my life way easier. Thanks a bunch again. MF
  5. In the backoffice, there is no way to retrieve the product id 81 by using the input set up out there. However, it seems to be belonging to the category 8. This is what I get after the modifications you suggested:
  6. It still doesn't make it : This is what I get (Query above): And this is what I'm supposed to have:
  7. Exactly, I have a "multishop" platform, and I'm looking for the products of 'one' specific shop ! What am I supposed to add? Again, thanks a bunch for the help mate !
  8. I still keep getting more data than wanted... : / While in the backoffice I have only 6 products based on my id_category There must be something freaking weird around...
  9. Thanks mate, but what does $skipman stands for in the clause where? And is the tax really necessary?
  10. [sOLVED] Heya folks, I spent the last days trying to figure out a tricky issue... No way to set up an SQL query to retrieve my products by basing my query on the "id_category". At each try I keep getting more data than expected whereas in the back office I get the 6 wanted products. I have no choice except doing that by SQL. This is what I have so far: SELECT p.id_product, p.active, pl.name, GROUP_CONCAT(DISTINCT(cl.name) SEPARATOR ",") as categories, p.price, p.id_tax_rules_group, p.wholesale_price, p.reference, p.supplier_reference, p.id_supplier, p.id_manufacturer, p.upc, p.ecotax, p.weight, p.quantity, pl.description_short, pl.description, pl.meta_title, pl.meta_keywords, pl.meta_description, pl.link_rewrite, pl.available_now, pl.available_later, p.available_for_order, p.date_add, p.show_price, p.online_only, p.condition, p.id_shop_default FROM ps_product p LEFT JOIN ps_product_lang pl ON (p.id_product = pl.id_product) LEFT JOIN ps_category_product cp ON (p.id_product = cp.id_product) LEFT JOIN ps_category_lang cl ON (cp.id_category = cl.id_category) LEFT JOIN ps_category c ON (cp.id_category = c.id_category) LEFT JOIN ps_product_tag pt ON (p.id_product = pt.id_product) INNER JOIN ps_product_shop ps ON (p.id_product = ps.id_product) INNER JOIN ps_store_shop pss on pss.id_store = 904 WHERE pl.id_lang = 2 AND cl.id_lang = 2 AND p.id_shop_default = 1 AND c.id_shop_default = 1 AND c.id_category = 8 AND ps.visibility IN ("both", "catalog") AND ps.active = 1 AND pl.id_shop = 6 GROUP BY p.id_product Any help in these regards would be much appreciated. Best Regards, MF
  11. Found myself. Here is the solution for anyone willing to increase the main body width: http://www.prestashop.com/forums/topic/156101-solved-altering-featured-products-width/ Regards, Mad
  12. Maybe my question is unclear?... I'd say it in another words: I would like to increase the "Featured Products" width please. Am I forced to do is in the css or can't I just modify a specific option in the modules? Thanks for any help there !!!!
  13. Hi folks, No way to figure out how to increase the "Featured Products" div size in order to make it slightly larger. Any ideas out there? Many thanks in advance ! And long live these boards. ;] Best Regards, Mad
×
×
  • Create New...