Search the Community
Showing results for tags 'function'.
-
Salve a tutti, vorrei sapere se fosse possibile impostare di proposito che quando cambio la pagina dei prodotti, la visualizzazione della stessa tornasse all'apice, dove inizia la lista di prodotti, e non rimanesse in basso. Ho notato che questa cosa varia in base al browser usato (Firefox resta giù...
-
Hello, I currently have a problem on my web site... (sorry for my translation) On any page where there is an option: "Sort by price ascending/ descending:" or you can select "Relevance", "Name, A to Z", Price, ascending"... but here, all steps except "Price, ascending" and "descending" whi...
-
Hi all! I'm actually working on my own function to create product, because I have multiple shops in prestashop with different names, diferent hosts and same products. That's why I need to design a product form to create/modify/delete products. I'm now stucked in the point that I don't...
-
Hi everyone, I'm trying to write a simple module.I need to get the event when the order status is change to particular state, than I should make something.
-
Hello, I have question. I wrote an function which I like in module A. Right now I am developing module B and I would love to use this function from A in B without copying it. Any Idea how to achieve this?
-
Hello, This a simple question about Calling a function from a tpl file. I need to override the discount display that appears on the product page , depending of the category-default parent. In the productcontroller.php I have entered a new function : I try to ca...
-
Hello, I am using prestashop 1.6.1.13 version and would like to ask the following as I am not completely sure how to do it correctly: I am overriding the ContactController.php and exactly the functions postProcess() and initContent(): class ContactController extends ContactContr...
-
I guys, I'm currently facing an issue on my website. When I browse my products into a dedicated category, it seems that at some point, the product list disappears. When I open the Console from the Browser Investigator, here is what I have: Uncaught TypeError: a.getE...
-
- error
- product list
-
(and 2 more)
Tagged with:
-
Calling a controller's method/action/function from an url ?
sourabh posted a topic in General topics
Hello all, Calling a controller's method/action/function of module from an url ? -
Hi, My shop is built with Prestahsop 1.5.6.2 In the browser console, js tab, I can see the following error : cart-summary.js:835 Uncaught TypeError: $(...).checkboxChange is not a function at HTMLDocument.<anonymous> (../js/cart-summary.js:835) at o (../xxxxxxxxxxxxx.js:2) at Object.fi...
- 1 reply
-
- function
- checkboxChange
-
(and 1 more)
Tagged with:
-
Hallo liebes Forum, ich möchte gerne folgendes herausfinden: Gibt es die Möglichkeit einen Link auf einer anderen Webseite zu platzieren, der dann einen bestimmten Artikel in den Warenkorb des Prestashops legt? Schließlich soll dann der Warenkorb mit dem Produkt angezeigt werden, sodass mein...
- 4 replies
-
- warenkorb befüllen
- hinzufügen
-
(and 5 more)
Tagged with:
-
how I can use the truncateTables() function, to clear tables before importing with loadCategoriesPost () and loadProductsPost ()
- 8 replies
-
- import
- truncateTables
-
(and 1 more)
Tagged with:
-
I want to edit the cart order total function. Do you know where it's located?
-
Hi all, I need to get $product variable from a product Id on my tpl. I've tried smarty: {assign var=$product value=$banditQuotes[nr].quote_product_link} I've tried php on the page: <?php $product = new Product (int)$banditQuotes[nr].quote_product_link?> I've tried a function in the php...
- 3 replies
-
- get product
- product id
-
(and 3 more)
Tagged with:
-
Hi there Community, today i need to double the original function "on Sale" from Prestashop. I would need exactly the same code and working like the original but a second time with a second checkbox and another word spawning if checkbox is checked. I guess i need to add a new column in ps...
-
Hi guys, I would like to know if there is a way to add a new smarty modifier/function from a module controller. If so, can you explain me how ? Thanks. Best regards, Romain
- 1 reply
-
- prestashop
- smarty
-
(and 3 more)
Tagged with:
-
I want to know from where the function call or identify function call such as I have situation as follows. In my module development I have override cart's getOrderTotal() method to add some surcharges as my modules requirements, so I want to call that method only if its call by Payment Methods (or...
- 4 replies
-
- prestashop
- identify
-
(and 3 more)
Tagged with:
-
I've created this funciton : static protected $cacheName = array(); public static function getCmsNameById($id_cms_category) { if (!isset(self::$cacheName[$id_cms_category])) self::$cacheName[$id_cms_category] = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue(' SELECT `name` FROM `'._DB_PREFIX_.'...
-
Hi ! I'm trying to call controller function through an AJAX call in Prestashop 1.5. I don't even know if it's possible. This is what I did : I override product controller (in override/controllers/front/ProductController.php) to load extra medias and to do some actions that the default controller do...
-
Hello I am using Prestashop 1.6.9 and need to add a function on the featured template. The function is a duplicate with modifs of public function getProducts (class Category.php) The call to the function is : Category::getRandomShopProducts((int)Context::getContext()->language->i...
-
Good Day: I would appreciate any feedback on www.silkplantscanada.com which is the main site under the ps 1.5.6.2 multistore function selling artificial plants, trees, palms ivies, etc.. To date I am using the default template as it has been a long journey just to have this one working as we...
-
- seo
- silkplants
-
(and 4 more)
Tagged with:
-
Im wondering where can i find all the Tools::getValue list and how is this working, is there other function that is useful other than this? for example i want to get the product reference and generate it in my controller.php