Jump to content

yomas

Members
  • Posts

    53
  • Joined

  • Last visited

Profile Information

  • Activity
    Agency

Recent Profile Visitors

3,630,662 profile views

yomas's Achievements

Newbie

Newbie (1/14)

3

Reputation

2

Community Answers

  1. Hello all ! Thanks for this subject, it's very interesting ! I'd like to add a customer image (avatar like) in the registration form. This thread talks about text data but how to manage image field upload and storage ? If someone has already manage this it would be great sharing ! Thanks in advance for tips ^^ Best regards, Yoann
  2. You're welcome ! 1,2,3 that's it ! I just took a look to tpl and php files, there's no way of choosing one specific category... Maybe hacking the tpl or change the getTree function in the php. Maybe using CSS hiding the ones you don't want... If someone else has featured it it's right the time to help ^^ Regards.
  3. Hi ! The category module seems to fit your needs. To hook your module in the right position in your template, you'll have to use (or creat) a hook near your logo. Actually you can hook the category module on hookLeftColumn/hookRightColumn and hookFooter. To add a hook go to the module php fuile named blockcategories.php and add this line : public function hookRightColumn($params) { return $this->hookLeftColumn($params); } But then you have to be careful with updates cause this hack will be overrided so I advise you to make a copy of the module changing his names and vars and then add it to you prestashop so that you don't have problems with updates... Good luck !
  4. Hi, I'm often using the free leotheme modules that you can find here : http://www.leotheme.com/download/viewcategory/75-free-prestashop-extension.html Maybe you can customize them to fit your needs ^^ Another great module maker is to be found here : http://contentbox.org/#what-is-new Good luck !!
  5. Hi all ! I've searched without finding the answer ! In the manufacturer page the breadcrumb looks like : Home > My Manufacturer I would like to have it like : Home > Manufacturers > My Manufacturer I found this topic but for an old prestashop and though the method seems not to be clean, since there modifying breadcrumb.tpl and not manufacturer.tpl... Do I have to override the Manufacturer controller and if so how to do this properly ? Or maybe using smarty {capture} with append or something like this ? Thanks in advance for helping ! Best regards.
  6. Hi all ! I was wondering how to add "Next" and "Prev" buttons in the manufacturer page to navigate between them ? Is there a simple way or have to override the manufacturer class to achieve this ? Thanks in advance for you replies ! Regards. EDIT : To achieve this override ManufacturerController.php file putting it in overrides/controller/front/ and put that code in : class ManufacturerController extends ManufacturerControllerCore { protected function assignOne() { $data = Manufacturer::getManufacturers(false, $this->context->language->id, true, false, false, false); $this->manufacturer->description = Tools::nl2br(trim($this->manufacturer->description)); $nbProducts = $this->manufacturer->getProducts($this->manufacturer->id, null, null, null, $this->orderBy, $this->orderWay, true); $this->pagination((int)$nbProducts); $products = $this->manufacturer->getProducts($this->manufacturer->id, $this->context->language->id, (int)$this->p, (int)$this->n, $this->orderBy, $this->orderWay); $this->addColorsToProductList($products); $prev = false; $next = false; for ($i=0; $i<count($data); $i++){ if ($this->manufacturer->id == $data[$i]['id_manufacturer']){ if ($i > 0) $prev = $data[$i-1]; if ($i < count($data)-1) $next = $data[$i+1]; } } $this->context->smarty->assign(array( 'prev' => $prev, 'next' => $next, 'nb_products' => $nbProducts, 'products' => $products, 'path' => ($this->manufacturer->active ? Tools::safeOutput($this->manufacturer->name) : ''), 'manufacturer' => $this->manufacturer, 'comparator_max_item' => Configuration::get('PS_COMPARATOR_MAX_ITEM'), 'body_classes' => array($this->php_self.'-'.$this->manufacturer->id, $this->php_self.'-'.$this->manufacturer->link_rewrite) )); } } Then in your manufacturer.tpl you can use {$next} and {$prev}. That's all folks !!
  7. Hi there ! Can you share your solution please ? Having the same problem !! Regards.
  8. Hi there ! Have you find an answer ? It would be great to share if so !! ^^ Regards.
  9. Bonjour à tous ! Je rencontre une difficulté quant la gestion des stocks avancée... - D'un côté j'ai un magasin physique qui échange les données de stocks sur un entrepôt prestashop (appelons le magasin) via le module Sora caisse. - De l'autre la boutique en ligne (entrepôt eshop). - Le catalogue produit est le même pour les deux boutiques Le problème est que je voudrais que les stocks utilisable sur l'eshop n'impacte que le stock dans l'entrepot eshop... Sauf que les quantités disponibles affichées sur la page produit indique le total du stock des 2 entrepôts... Y'a t-il un moyen de faire ça ??!! C'est à dire un stock spécifique à la boutique en ligne (entrepôt eshop) et un autre stock dédié au magasin physique (entrepôt magasin) ? Ou alors faut il passer par le multiboutique ? (Et est-ce possible en multiboutique avec le même catalogue produit ?) Merci de vos réponses car là je frappe en touche !!
  10. [sOLVED] Th issue came from the HTML Beautifier option !!
  11. Hi everyone ! Having a weird issue within my CMS pages with images : Uploading and choosing works and displays the image in editor, but when saving the image attributes changes to <img src="%5" .. and adds "" to the alt ??? Does someone knows how to fix that ? I activated the dev mode to see if php errors apperas while saving but no errors... I also tried to code manually the image but does the same thing.. Here's the link of one of the cms page concerned : http://baskalia.fr/content/26-decouvrez-baskalia Thanks in advance for your help ^^ Regards
  12. Hi all ^^ I have some prducts with the same 3 attribute values : Size : S (no price impact) M (+2) L (+4) I want to delete the M value, if I do so in the "attribute and values" will it delete in the product combination ? Thanks for your reply I don't want to make my product crash and want to be sure of what will happen ^^ Best regards.
  13. Hi there everyone ! I manage a shop for a friend who's selling photography. He's used to import 25 photo (products) at the same time, but each photo has the same 32 combinations, so it's very anoying to import combinations :-( The csv file is very huge cause we have 25x32 lines in the file ^^ does anyone knows a free or paid module that can import products and combinations at the same time ? My csv product file looks like : id prodcut / name /... And the combination for one product is : 1 Taille:select:1,Support d'Impression:select:1,Qualité Papier:select:1,Finition:select:1 13x18:1,Sans Support:1,Mat:1,Normale:1 #1-1 0 1 1 Taille:select:1,Support d'Impression:select:1,Qualité Papier:select:1,Finition:select:2 13x18:1,Sans Support:1,Mat:1,Fine Art:2 #1-2 8.361204 0 1 Taille:select:1,Support d'Impression:select:1,Qualité Papier:select:2,Finition:select:1 13x18:1,Sans Support:1,Brillant:2,Normale:1 #1-3 0 0 1 Taille:select:1,Support d'Impression:select:1,Qualité Papier:select:2,Finition:select:2 13x18:1,Sans Support:1,Brillant:2,Fine Art:2 #1-4 8.361204 0 1 Taille:select:1,Support d'Impression:select:2,Qualité Papier:select:1,Finition:select:1 13x18:1,Cadre Aluminium Dibon:1,Mat:1,Normale:1 #1-5 8.361204 0 1 Taille:select:1,Support d'Impression:select:2,Qualité Papier:select:1,Finition:select:2 13x18:1,Cadre Aluminium Dibon:1,Mat:1,Fine Art:2 #1-6 16.722408 0 1 Taille:select:1,Support d'Impression:select:2,Qualité Papier:select:2,Finition:select:1 13x18:1,Cadre Aluminium Dibon:2,Brillant:1,Normale:1 #1-7 8.361204 0 1 Taille:select:1,Support d'Impression:select:2,Qualité Papier:select:2,Finition:select:2 13x18:1,Cadre Aluminium Dibon:2,Brillant:1,Fine Art:2 #1-8 16.722408 0 1 Taille:select:2,Support d'Impression:select:1,Qualité Papier:select:1,Finition:select:1 20x30:2,Sans Support:1,Mat:1,Normale:1 #1-9 12.541806 0 1 Taille:select:2,Support d'Impression:select:1,Qualité Papier:select:1,Finition:select:2 20x30:2,Sans Support:1,Mat:1,Fine Art:2 #1-10 20.903010 0 1 Taille:select:2,Support d'Impression:select:1,Qualité Papier:select:2,Finition:select:1 20x30:2,Sans Support:1,Brillant:2,Normale:1 #1-11 12.541806 0 1 Taille:select:2,Support d'Impression:select:1,Qualité Papier:select:2,Finition:select:2 20x30:2,Sans Support:1,Brillant:2,Fine Art:2 #1-12 20.903010 0 1 Taille:select:2,Support d'Impression:select:2,Qualité Papier:select:1,Finition:select:1 20x30:2,Cadre Aluminium Dibon:1,Mat:1,Normale:1 #1-13 29.264214 0 1 Taille:select:2,Support d'Impression:select:2,Qualité Papier:select:1,Finition:select:2 20x30:2,Cadre Aluminium Dibon:1,Mat:1,Fine Art:2 #1-14 37.625418 0 1 Taille:select:2,Support d'Impression:select:2,Qualité Papier:select:2,Finition:select:1 20x30:2,Cadre Aluminium Dibon:2,Brillant:1,Normale:1 #1-15 29.264214 0 1 Taille:select:2,Support d'Impression:select:2,Qualité Papier:select:2,Finition:select:2 20x30:2,Cadre Aluminium Dibon:2,Brillant:1,Fine Art:2 #1-16 37.625418 0 1 Taille:select:3,Support d'Impression:select:1,Qualité Papier:select:1,Finition:select:1 30x45:3,Sans Support:1,Mat:1,Normale:1 #1-17 29.264214 0 1 Taille:select:3,Support d'Impression:select:1,Qualité Papier:select:1,Finition:select:2 30x45:3,Sans Support:1,Mat:1,Fine Art:2 #1-18 37.625418 0 1 Taille:select:3,Support d'Impression:select:1,Qualité Papier:select:2,Finition:select:1 30x45:3,Sans Support:1,Brillant:2,Normale:1 #1-19 29.264214 0 1 Taille:select:3,Support d'Impression:select:1,Qualité Papier:select:2,Finition:select:2 30x45:3,Sans Support:1,Brillant:2,Fine Art:2 #1-20 37.625418 0 1 Taille:select:3,Support d'Impression:select:2,Qualité Papier:select:1,Finition:select:1 30x45:3,Cadre Aluminium Dibon:1,Mat:1,Normale:1 #1-21 54.347826 0 1 Taille:select:3,Support d'Impression:select:2,Qualité Papier:select:1,Finition:select:2 30x45:3,Cadre Aluminium Dibon:1,Mat:1,Fine Art:2 #1-22 62.709030 0 1 Taille:select:3,Support d'Impression:select:2,Qualité Papier:select:2,Finition:select:1 30x45:3,Cadre Aluminium Dibon:2,Brillant:1,Normale:1 #1-23 54.347826 0 1 Taille:select:3,Support d'Impression:select:2,Qualité Papier:select:2,Finition:select:2 30x45:3,Cadre Aluminium Dibon:2,Brillant:1,Fine Art:2 #1-24 62.709030 0 1 Taille:select:4,Support d'Impression:select:1,Qualité Papier:select:1,Finition:select:1 40x60:4,Sans Support:1,Mat:1,Normale:1 #1-25 45.986622 0 1 Taille:select:4,Support d'Impression:select:1,Qualité Papier:select:1,Finition:select:2 40x60:4,Sans Support:1,Mat:1,Fine Art:2 #1-26 54.347826 0 1 Taille:select:4,Support d'Impression:select:1,Qualité Papier:select:2,Finition:select:1 40x60:4,Sans Support:1,Brillant:2,Normale:1 #1-27 45.986622 0 1 Taille:select:4,Support d'Impression:select:1,Qualité Papier:select:2,Finition:select:2 40x60:4,Sans Support:1,Brillant:2,Fine Art:2 #1-28 54.347826 0 1 Taille:select:4,Support d'Impression:select:2,Qualité Papier:select:1,Finition:select:1 40x60:4,Cadre Aluminium Dibon:1,Mat:1,Normale:1 #1-29 87.792642 0 1 Taille:select:4,Support d'Impression:select:2,Qualité Papier:select:1,Finition:select:2 40x60:4,Cadre Aluminium Dibon:1,Mat:1,Fine Art:2 #1-30 96.153846 0 1 Taille:select:4,Support d'Impression:select:2,Qualité Papier:select:2,Finition:select:1 40x60:4,Cadre Aluminium Dibon:2,Brillant:1,Normale:1 #1-31 87.792642 0 1 Taille:select:4,Support d'Impression:select:2,Qualité Papier:select:2,Finition:select:2 40x60:4,Cadre Aluminium Dibon:2,Brillant:1,Fine Art:2 #1-32 96.153846 0
×
×
  • Create New...