Jump to content

Rjworld

New Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

438 profile views

Rjworld's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare

Recent Badges

0

Reputation

  1. i write this code and it's work properly.3 files are important to add this in preatshop 1.7. i tested this code in preastashop 1.7.6.2 file 1: Root/classes/order/Order.php (product image path return) code: / GET ORDER PRODUCT IMAGE URL BY order id // @ return image url // $order is order id public function getOrderProductUrl($idOrder) { $imagePath = ''; $order = new Order($idOrder); $product_id =Db::getInstance()->getValue( 'SELECT product_id FROM `' . _DB_PREFIX_ . 'order_detail` WHERE `id_order` = ' .$idOrder ); $id_product = $product_id; $id_lang = (int) Configuration::get('PS_LANG_DEFAULT'); $image = Image::getCover($id_product); $product = new Product($id_product); $link = new Link; $imagePath = $link->getImageLink($product->link_rewrite[Context::getContext()->language->id], $image['id_image'], 'home_default'); return "https://".$imagePath; } file 2 - Root/controllers/front/HistoryController.php (Controller) Code: this code put inside the foreacjh loop. which id return for data. $order.. $orders[$customer_order['id_order']]['product_img'] = Order::getOrderProductUrl((int) $customer_order['id_order']); File 3 - Root/themes/Your Theme/templates/customer/history.tpl code: use this image tag where you want to show product image <th><img src="{$order.product_img}" alt="product-image" width="216px"></th>
  2. any one can u please help regarding this issue.. @ShadowyFamily how u do this think in your shop. I'm using prestashop 1.7.6.2 version.
  3. i purchased your multi vendor module but i haven't some features. 1. seller details in invoice for product returning. 2. seller details in order history with separate products. 3. seller details attached with all required places like.. shipping, invoicing, ordering etc.. please suggest me regarding this.
  4. how to manage shipping behalf of vendor. currently we are facing issues. i have many sellers but having a single shipping account at shiprocket. please suggest to overcome this issue. @Knowband Plugins - multi vendor plugin for ps 1.7
  5. i want order cancel options in order & history table, order cancellation is basic and important module for e-commerce store but here this features not available right now. can any one help me to solve this issue, many peoples wants this features. and also having a cancellation management in BO.
  6. hello, i'm using prestashop 1.7.6.2 and facing some problem in this version. when my customer online pay to me for products issue occurred : issue 1 : after payment successfull cart are empty and customer session out or logout automatically. (order not created) issue 2: after completing payment redirect to home not on order conformation. log created in my store : Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart. and server log : [Thu Aug 20 20:08:15.137245 2020] [authz_core:error] [pid 9889] [client 195.54.160.21:60270] AH01630: client denied by server configuration: /home/xyzuser/public_html/vendor/phpunit [Thu Aug 20 20:08:13.780086 2020] [authz_core:error] [pid 7350] [client 195.54.160.21:58496] AH01630: client denied by server configuration: /home/xyzuser/public_html/vendor/phpunit [Thu Aug 20 12:28:11.696421 2020] [core:crit] [pid 710] (13)Permission denied: [client 42.82.211.87:41527] AH00529: /home/xyzuser/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/xyzuser/public_html/' is executable help me for resolving issues.
×
×
  • Create New...