Jump to content

Panos

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Panos

  1. Δες εδώ: https://pageup.gr/product/prestashop-gefyra-me-kefalaio/
  2. Step One done: I made an override of the ps_facetedsearch module class. Specifically the getProductByFilters function, I changed the sql and I get the color cobinations correctly. I still have to Change the total number of products query, the links to the products and the images.
  3. Ok, found something. The process is done by modules now. getProducts is not used anymore. You can build own search providers which is cool.
  4. I found out that this is created via the definition of the object class: public static $definition = array( 'table' => 'category', 'primary' => 'id_category', 'multilang' => true, 'multilang_shop' => true, 'fields' => array( 'nleft' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'), 'nright' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'), 'level_depth' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'), 'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true), 'id_parent' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'), 'id_shop_default' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'), 'is_root_category' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 'position' => array('type' => self::TYPE_INT), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'), 'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'), /* Lang fields */ 'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => true, 'size' => 128), 'link_rewrite' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isLinkRewrite', 'required' => true, 'size' => 128), 'description' => array('type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isCleanHtml'), 'meta_title' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'size' => 128), 'meta_description' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'size' => 255), 'meta_keywords' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'size' => 255), ), ); So I need to change this somehow.
  5. Hi, I am trying to find where I can change the sql that produces the category listing. I found getProducts in Category Class but it seems that it is not called at all. I want to change the query in order to show different colour combinations of products as different products in the listing. Thank you!
  6. Γεια χαρά στο forum. Ως από πάντα joomla-virtumart fun, έχω ξετρελαθεί με το prestashop και βλέπω τι έχανα τόσα χρόνια!!! Ηθελα να ρωτήσω πως είναι δυνατόν να εμφανίζω ορισμένους συνδιασμούς προϊόντων ως ξεχωριστά προϊόντα μέσα στις κατηγορίες τους. π.χ. ένα παπουτσι να φαίνεται και ως κοκκινο και ως κιτρινο και ως μπλε αλλά οταν μπεις μέσα στη σελίδα του προϊόντος να εξακολουθείς να μπορείς να αλλάξεις χρώμα. Δε βρήκα κάτι στο backoffice. Φαντάζομαι ότι μπορώ να φτιάξω κάποιο override σε class. Γνωρίζει κανείς σε ποια κλάση πρέπει να γίνει το override; Ευχαριστώ!
×
×
  • Create New...

Important Information

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