prestashop

How to integrate prestashop with android? [closed]

雨燕双飞 提交于 2019-12-18 11:33:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Recently I have created a eshop website using prestashop https://www.prestashop.com/en/ And since I am going to build the android app for it. What includes in apps are only some basic function e.g. create customer account / list product / order product / pay / view order etc..common eshop functions... The problem

How to change the Order Reference to Number Reference

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-18 10:46:50
问题 Using new version of Prestashop 1.5.2.0. I would like to change the Order reference ( alphabets ) to alphanumeric value. I tried searching in forums and Seen this forum. Unfortunately it wont work for me. Can any one have solution to change Order reference ( alphabets ) to alphanumeric value in entire application. I mean "AQMKATRQG" to "LD1001" and the increment it to "LD1002" I would like to change the Order reference ( alphabets ) to alphanumeric value. I tried searching in forums and Seen

Create custom page in Prestashop 1.5.3

风格不统一 提交于 2019-12-17 16:08:20
问题 I'd like to create a custom page in Prestashop 1.5.3 without using CMS. Unfortunately I can not find any tutorials that are working with 1.5.3. So far I have created a test.php file in the shops root directory with following content: <?php include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/header.php'); $smarty->display(_PS_THEME_DIR_.'test.tpl'); ?> I placed the corresponding test.tpl in my themes basefolder. It simply contains 'hello world'. I changed the

Using PHP code in Smarty tpl FIle

余生颓废 提交于 2019-12-17 12:48:29
问题 I am new to smarty and I want to use php code in template file i-e tpl file. I have seen the documentation and searched on google but could not find how to use php code they say we need to configure smarty to allow php execution but could not find how to do it. Kindly help me in this regard. Thanks 回答1: Easy as boiling an egg! {php}echo "hello!"{/php} Second link down, for reference. Edit as of Smarty 3.1: As of Smarty 3.1 the {php} tags are only available from SmartyBC. Source: http://www

PHP Mail() Contact-us form works fine if entering a Gmail sending address, but not with Yahoo [duplicate]

南笙酒味 提交于 2019-12-14 03:33:38
问题 This question already has an answer here : Reconfiguring PHP Mail() Smarty Contact Form (1 answer) Closed 5 years ago . I've setup an ecommerce site using Prestashop and when testing their contact form, I found that I was not receiving any messages if user enters Yahoo email address as the senders address. I have no problems, however, if the user enters a Gmail address. Prestashop is set up currently to use the PHP Mail() function for the contact form. What could be the problem and what

Product Information in Prestashop

£可爱£侵袭症+ 提交于 2019-12-14 02:55:28
问题 Does anyone know how to get the product information by product ID and show the correct price in prestashop? I have tried a custom SQL query and I can get the product information, however I can't seem to show the correct price since Prestashop stores different price scenarios in separate tables. ex. ps_product, ps_specific_price, ps_attribute_impact 回答1: you can use the prestashop class. $product = new Product($id_product,false,$lang_id); now you will have all details in $product variable. if

Prestashop Module's CSS Override

冷暖自知 提交于 2019-12-13 21:26:32
问题 I'm new to Prestashop. I want to override the CSS file of a module, say blockpermanentlinks . The official documentation says that I have to put the new CSS file in /themes/my_theme/css/modules/my_module/my_module.css . It doesn't work. The line <link href="/prestashop/themes/my_theme/css/modules/blockpermanentlinks/blockpermanentlinks.css" rel="stylesheet" type="text/css" media="all" /> is produced but if I visit that CSS file with my browser a 'Page not found' is displayed. Any hints? 回答1:

Link external JS file to Prestashop

一世执手 提交于 2019-12-13 20:16:18
问题 I'm creating a custom module in Prestashop 1.7, and I've tried many solutions but nothing solved my problem. I would add an external JS file to the header or footer of the website where the module is installed (and only when it's installed). <script src="https://cdn.monurl.com/file.js"></script> // JS file to include I tried to use the addJS() method in the displayHeader hook: public function hookDisplayHeader($params) { if (!$this->active) return; $this->context->controller->addJS('https:/

Integrate PrestaShop Webservice with Laravel 5

烂漫一生 提交于 2019-12-13 18:08:21
问题 I'm trying to integrate the Prestashop 1.6 WebService into my Laravel 5.3 project to retrieve data. Has anybody ever done this or know of any link which could help me? EDIT: My idea is, inside my Laravel app, whenever I click a specified like, it retrieves that data from my PrestaShop backoffice. For example, if I click on the Customers links inside my Laravel App, it shows the all the Customer information from currently in my PrestaShop back-office. 回答1: I managed to find a solution. This

jQueryUI not working (in Prestashop) how to troubleshoot?

南楼画角 提交于 2019-12-13 18:06:26
问题 I am building a Module for Prestashop that has a Front Office Controller. I'm wanting to use jQueryUI. In my main php file for the module (extending the Module class) in included JQueryUI like this: public function hookHeader() { $this->context->controller->addJqueryUI('ui.core'); $this->context->controller->addJqueryUI('ui.widget'); $this->context->controller->addJqueryUI('ui.mouse'); $this->context->controller->addJqueryUI('ui.slider'); } I am checking my header, and I see all the scripts