Jump to content

tapukatata

Members
  • Posts

    121
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Activity
    Agency

Recent Profile Visitors

5,361,846 profile views

tapukatata's Achievements

  1. I have the same error when I try to edit/update customer details information.
  2. I am using Prestashop 1.7.6.9 I need to set me PS_OS_CANCELED status to decrease product stock QTY. I would be happy if anyone can help me with that. Thank you!
  3. I am using your Klaviyo API module bought from your site prestatuts.com and I can say that the module do not cost even half of his price. Below I will show some screenshots where you say that you do not have time to remove your bugs. That says a lot about your support. NO COMMENT !!!!
  4. That module sucks! It is full with bugs. I used paid services on the developer ndiaga and his website prestatuts.com but unfortunately I can't say nice things about him. My comment and my review about ndiaga is: not good paid service at all and no after sale support about the bugs. He wrote me: "I will not waste my time for that small bug." 😡
  5. I want to disable/hide some Statuses for Employees Profile. Anyone could help me with that? I am using Prestashop 1.7.3.0
  6. Prestashop sends emails when change order status. Does anyone know which file to edit because I want to disable sending of emails to specific mails to specific mail domains.
  7. Could you share CSV sample? Also that I would want to ask how to export my products + QTY in CSV file.
  8. I am using prestashop 1.7.3 and I have added Tracking number filter on orders list page BUT it is just after the filtter for Refference number. How can I move filtter tracking number after the filtter for order status. My code is located in: /override/controllers/admin/AdminOrdersController.php <?php class AdminOrdersController extends AdminOrdersControllerCore { public function __construct() { $this->bootstrap = true; $this->table = 'order'; $this->className = 'Order'; $this->lang = false; $this->addRowAction('view'); $this->explicitSelect = true; $this->allow_export = true; $this->deleted = false; parent::__construct(); $this->_select = ' a.id_currency, a.id_order AS id_pdf, CONCAT(c.`firstname`, \' \', c.`lastname`) AS `customer`, c.email AS `email`, address.phone `phone`, osl.`name` AS `osname`, os.`color`, IF((SELECT so.id_order FROM `'._DB_PREFIX_.'orders` so WHERE so.id_customer = a.id_customer AND so.id_order < a.id_order LIMIT 1) > 0, 0, 1) as new, country_lang.name as cname, IF(a.valid, 1, 0) badge_success'; $this->_join = ' LEFT JOIN `'._DB_PREFIX_.'order_carrier` oc ON a.`id_order` = oc.`id_order` LEFT JOIN `'._DB_PREFIX_.'customer` c ON (c.`id_customer` = a.`id_customer`) INNER JOIN `'._DB_PREFIX_.'address` address ON address.id_address = a.id_address_delivery INNER JOIN `'._DB_PREFIX_.'country` country ON address.id_country = country.id_country INNER JOIN `'._DB_PREFIX_.'country_lang` country_lang ON (country.`id_country` = country_lang.`id_country` AND country_lang.`id_lang` = '.(int)$this->context->language->id.') LEFT JOIN `'._DB_PREFIX_.'order_state` os ON (os.`id_order_state` = a.`current_state`) LEFT JOIN `'._DB_PREFIX_.'order_state_lang` osl ON (os.`id_order_state` = osl.`id_order_state` AND osl.`id_lang` = '.(int)$this->context->language->id.')'; $this->_orderBy = 'id_order'; $this->_orderWay = 'DESC'; $this->_use_found_rows = true; $statuses = OrderState::getOrderStates((int)$this->context->language->id); foreach ($statuses as $status) { $this->statuses_array[$status['id_order_state']] = $status['name']; } $this->fields_list = array( 'id_order' => array( 'title' => $this->trans('ID', array(), 'Admin.Global'), 'align' => 'text-center', 'class' => 'fixed-width-xs' ), 'reference' => array( 'title' => $this->trans('Reference', array(), 'Admin.Global') ), 'tracking_number' => array( 'title' => $this->l('tracking number'), 'havingFilter' => true, ), /* 'new' => array( 'title' => $this->trans('New client', array(), 'Admin.Orderscustomers.Feature'), 'align' => 'text-center', 'type' => 'bool', 'tmpTableFilter' => true, 'orderby' => false, ), */ 'customer' => array( 'title' => $this->trans('Customer', array(), 'Admin.Global'), 'havingFilter' => true, ), 'phone' => array( 'title' => $this->trans('Phone', array(), 'Admin.Global') ), 'email' => array( 'title' => $this->trans('Email', array(), 'Admin.Global') ), ); if (Configuration::get('PS_B2B_ENABLE')) { $this->fields_list = array_merge($this->fields_list, array( 'company' => array( 'title' => $this->trans('Company', array(), 'Admin.Global'), 'filter_key' => 'c!company' ), )); } $this->fields_list = array_merge($this->fields_list, array( 'total_paid_tax_incl' => array( 'title' => $this->trans('Total', array(), 'Admin.Global'), 'align' => 'text-right', 'type' => 'price', 'currency' => true, 'callback' => 'setOrderCurrency', 'badge_success' => true ), 'payment' => array( 'title' => $this->trans('Payment', array(), 'Admin.Global') ), 'osname' => array( 'title' => $this->trans('Status', array(), 'Admin.Global'), 'type' => 'select', 'color' => 'color', 'list' => $this->statuses_array, 'filter_key' => 'os!id_order_state', 'filter_type' => 'int', 'order_key' => 'osname' ), 'date_add' => array( 'title' => $this->trans('Date', array(), 'Admin.Global'), 'align' => 'text-right', 'type' => 'datetime', 'filter_key' => 'a!date_add' ) )); /* if (Country::isCurrentlyUsed('country', true)) { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT DISTINCT c.id_country, cl.`name` FROM `'._DB_PREFIX_.'orders` o '.Shop::addSqlAssociation('orders', 'o').' INNER JOIN `'._DB_PREFIX_.'address` a ON a.id_address = o.id_address_delivery INNER JOIN `'._DB_PREFIX_.'country` c ON a.id_country = c.id_country INNER JOIN `'._DB_PREFIX_.'country_lang` cl ON (c.`id_country` = cl.`id_country` AND cl.`id_lang` = '.(int)$this->context->language->id.') ORDER BY cl.name ASC'); $country_array = array(); foreach ($result as $row) { $country_array[$row['id_country']] = $row['name']; } $part1 = array_slice($this->fields_list, 0, 3); $part2 = array_slice($this->fields_list, 3); $part1['cname'] = array( 'title' => $this->trans('Delivery', array(), 'Admin.Global'), 'type' => 'select', 'list' => $country_array, 'filter_key' => 'country!id_country', 'filter_type' => 'int', 'order_key' => 'cname' ); $this->fields_list = array_merge($part1, $part2); } */ $this->shopLinkType = 'shop'; $this->shopShareDatas = Shop::SHARE_ORDER; if (Tools::isSubmit('id_order')) { // Save context (in order to apply cart rule) $order = new Order((int)Tools::getValue('id_order')); $this->context->cart = new Cart($order->id_cart); $this->context->customer = new Customer($order->id_customer); } $this->bulk_actions = array( 'updateOrderStatus' => array('text' => $this->trans('Change Order Status', array(), 'Admin.Orderscustomers.Feature'), 'icon' => 'icon-refresh') ); } }
  9. Hi, I am using Prestashop 1.7.3.0. For Stock Management --> Filter by supplier - it is working only if for the product is checked "Default supplier" For example I have one product which I buy from 3 suppliers. From Stock Management I want to filter products by supplier but that is possible if for the prodects was selected "Default supplier" Any idea if that is normal and if how can I display products by suppliers if it is not checked the default one.
  10. I would want to delete my old information from a database table BUT I would want to delete it from date to date. I was using SQL commad: TRUNCATE TABLE `ps_connections`; but it will delete the whole information. Anyone could give me the correct command, please
  11. I am looking for a way to descrease product qty after I change the order status to "shipped" For example if I change the order status to "Canceled" then product qty will increase. I want the opposite: when change order status to decrease. Is it possible?
  12. Hi, I would want to flip all my product images on 90 degree. I would want that 90 degree flipping to be applied for all product gallery images. I am using prestashop 1.7.x
  13. Hi, I am looking for a module which send viber messages to customers after order status change. In my country there is a carrier who send viber messages after there is a parcel for me. I would want to have the same module when order status is changed to "shipped" the customer to receive an viber message. Unfortunately I could not found such module
  14. I need help with my code. I have a prestashop shipping module where I have a list with cities and shipping carrier offices. In some cities there are more than one shipping carrier offices and when anyone select the city after that must chose a shipping carrier office. BUT for some cities there is just one shipping carrier office and I want to auto select it after choosing the city. Here is what I have added: if($('#office_name_select option').length == 2){ $('#office_name_select option:last-child').attr('selected','selected'); $('#office_name_select').trigger('chosen:updated'); $('#office_name_select').trigger('change'); } also: } if(data.length == 1){ $('#office_name_select option:last-child').attr('selected','selected'); The code is working for Fron Office but after that the selected city and auto selected (if it is only one) shipping carrier office they are not saved in Back Office. Any ideas how Can I resolve the problem? Here is Diff Checker: https://www.diffchecker.com/hicaG2EE
×
×
  • Create New...