Jump to content

freelex

Members
  • Posts

    48
  • Joined

  • Last visited

Profile Information

  • Location
    Prague
  • Interests
    Business
  • Activity
    Other

freelex's Achievements

  1. Hello, I am trying to set the products in the Featured products block (or New products block) to updated products are displayed first (sort by date_upd). Could someone please advise which part of the code I need to override in the ps_featuredproducts.php file? I still haven't figured it out Thank you
  2. Displaying the product sheet when I open Category1 (for example Chocolate category) works great after modification the file \modules\ps_facetedsearch\src\Adapter\MYSQL.php. If I search via the button search for Chocolate, it doesn't work and products that are out of stock are also displayed first. I think another file than \modules\ps_facetedsearch\src\Adapter\MYSQL.php will need to be edited too.
  3. Hello, I'm trying to set up so that when I search for products, in stock products are displayed first and only those that are out of stock are below them. I managed to set it up for searching through categories. However, I did not manage to find out which file I need to modify in order for my products to be sorted in this way even when searching through the search button. I use Prestashop 1.7.7.5. I changed the below line in the \modules\ps_facetedsearch\src\Adapter\MYSQL.php Orginal: if ($orderField) { $query .= ' ORDER BY ' . $orderField . ' ' . strtoupper($this->getOrderDirection()); } Modified: if ($orderField) { $query .= ' ORDER BY (CASE WHEN quantity > 0 THEN 1 ELSE 0 END) DESC, ' . $orderField . ' ' . strtoupper($this->getOrderDirection()); } Which other file do I need to modify? Thank you for your help.
  4. Zdravím, nevíte prosím někdo, jak nastavit DPH 21% u dopravy? Zkusil jsem všechno možné, ale furt se mi to na fakturách a dobropisech neukazovalo, tak jsem to udělal manuálně s tím, že jsem spočítal cenu bez DPH, zadal 21% a pak už mi to spočítalo cenu s DPH. Nejde nějak udělat, abych zadal výslednou cenu např. 79 Kč a ono si to od toho odečetlo těch 21% DPH a vygenerovalo mi to cenu bez DPH? Na fakturách to tímto způsobem sedí dobře, jenomže dobropisy mi dělají problém a u dopravy mi to přepočítává na nějaké drobné (79,50 Kč) atd. Přikládám fotky, jak mám DPH nastavené. Prestashop 1.6. Předem děkuji.
  5. Good evening, whenever the customer wants to return a product, I click on the button which generates the credit note. The main problem in the credit note is, that the price is wrong. 1. problem - I am the payer of VAT so the price includes 21 %, but unfortunately, in the credit note, the price does not convert to the VAT price. 2. problem - in the shipping module, the VAT price did not automatically convert, so I had manually put the price without VAT and then set it on 21% so it converts to the VAT price. In invoices it works, but unluckily in the credit notes no. I will attach two pictures for better understanding, hopefully it will help. Invoices are working fine. Thank you for your help. I have prestashop 1.6.1.23
  6. Thank you for your reply. I have version 1.6.1.23 if it helps.
  7. Hello, is it possible to create another main category in the menu or split menu in the shop? Is it possible to create two menus underneath? Or create a titles (headings) in the menu? Thank you for your help
  8. syedosman: which version of AP Office do you have?
  9. Hi guys :-), do you anobody know if exist some module or function in Prestashop for switching 2 menus in one? I can't found resolution... Look at picture ---> Thank so much for your reply
×
×
  • Create New...