Jump to content

buhajus

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

3 Neutral

About buhajus

  • Rank
    PrestaShop Apprentice

Profile Information

  • Activity
    Developer

Recent Profile Visitors

3,368,739 profile views
  1. adminordercontroller.php -> protected function getProducts($order) prieš return įdėk array_multisort(array_column($products, "price"), SORT_ASC, SORT_NUMERIC, $products);
  2. Today, discovered bug, that customers can order goods which are out of stock. You ask may, how can they do this? Example: In stock we have 20 pcs of Z product Customer Y ordered 15 pcs of Z product Customer X added 5 pcs of Z product to cart and didn't bought Customer Y asked us to add more 5 pcs of Z products to hes order, so we add manually via BO /order (check img) ps_stock_available table decreased these products, but ps_stock didn't... After while customer X placed order from hes cart where were 5 pcs of Z product. Yes he may saw that product is out of stock (if he refresh page), but system let him confirm order. Of cause he got email that product is out of stock, but Z product quantity goes to -5 pcs Question: How to prevent customers order products which aren't in stock Settings Allow ordering of out-of-stock products set to ** NO Prestashop 1.6.1.x
  3. You can use custom SQL UPDATE `ps_specific_price` sp LEFT join ps_product p ON sp.id_product = p.id_product LEFT join ps_category c on p.id_category_default = c.id_category SET .... sp.from_quantity = 1 AND c.id_parent not in(x,x,x,) AND c.id_category NOT in (y,y,y,)
  4. Good day, anyone can help me with ordering products by products reference in AdminOrder in this section? I found in classes/Order.php this function, but when i added ORDER BY... i got blank table of products. public function getProductsDetail() { return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT * FROM `'._DB_PREFIX_.'order_detail` od LEFT JOIN `'._DB_PREFIX_.'product` p ON (p.id_product = od.product_id) LEFT JOIN `'._DB_PREFIX_.'product_shop` ps ON (ps.id_product = p.id_product AND ps.id_shop = od.id_shop) WHERE od.`id_order` = '.(int)$this->id.'ORDER BY od.product_reference ASC'); } Any ideas ?
  5. FluffyCat, did you solve it? i tried this one guide http://blog.dh42.com/prestashop-and-media-servers/ but still no images...
  6. Same problem almost for all There is no good guide how to configure
  7. Hello, is it possible to check queries in PS 1.4 ? to set up to true ? And where i can find printed queries? I did this but can't see any printed queries Thanks
  8. Hello, need yours help with contact-form.tpl PS 1.4.11.0 sending mail only .txt format When someone press enter by typing message I receive html tag <br /> I tried change ContactConttroller.php $message = html_entity_decode(Tools::getValue('message'), ENT_COMPAT, 'UTF-8'); same problem tried to add replace function in .tpl {$message|replace:'<br />':' '} same nothing... What i'm receiving to my inbox : Example test <br /> need more test <br /> Any help are welcome Thanks a head of time
  9. Just want to share: Someone leave "_" symbol in shopping-cart.tpl and in shopping-cart-product-line.tpl <a rel="nofollow" class="cart_quantity_delete" id="_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}" just delete it and it works, now you can use delete button in shopping cart
  10. Solved changed correct id in contact-form.tpl <option value="yourID">{l s='-- Choose --'}</option>
  11. After updated PS 1.4.9.0 to 1.4.11.0 , no new message in customer service. When customer use contact form, only got message to email inbox, but no in customer service. Any help are welcome Thanks !
×
×
  • Create New...

Important Information

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