Search the Community
Showing results for tags 'override'.
-
Basic module for adding or modifying the functions of an admin controller /src. /src/PrestaShopBundle/Controller/Admin/Sell/Order/OrderController.php Tested only on Prestashop version 8 moduledecorator.zip
-
Undefined variable specific_price_output in Cart override
pl.sabotinov posted a topic in Bug reports
Hello, in Prestashop 8.1.4 i have made an override of the Cart.php file. I have done this override many times in different older versions of PS. So i am overriding the function getPackageShippingCost(). The goal is to add an aditional shipping cost for each product, calculated during cart execu...-
- specific_price
- undefined
-
(and 3 more)
Tagged with:
-
Hi, Do you have nay idea how to create different registration form for each multistore shop? What happend... ? I have a Prestashop with multistore feature active. Both shops are different and I need custom registration for each of them. Each registration page will contain...
- 4 replies
-
- css
- javascript
-
(and 6 more)
Tagged with:
-
Bonjour, Je suis actuellement sous Prestashop 1.7.4.0 et j'essaie de modifier le logo apparaissant dans mes factures. Pour cela je dois modifier la fonction assignCommonHeaderData() du fichier /classes/pdf/HTMLTemplate.php, j'ai donc mis en place une surcharge en créant le fichier HTMLTemplat...
-
Hi, I want to add supplier reference in the back office Products page, and I have created my own module so I can keep the PrestaShop code untouched. I've managed to have the webpage updated with the new column by override the twig files in my module. But now the new column isn't populated with...
-
I need to parse any variable passed to any static page in Prestashop and replace anything that starts with "http" (in plain text) with "a href"s. I already have the regular expression but I need to know how can I do that using a module without modifying the core functions and without using override...
-
I want to add another column in the product page in the back office in prestashop 1.7.8.8 but the methods i found online are outdated or do not work , can someone give me a clue ?
- 6 replies
-
- module
- product page
- (and 7 more)
-
Hello, I am developing a PrestaShop website for a client which have multiple web apps. All these web apps (on different domains) are included into a "Single-Sign-On" system, with an authentication api on a separate domain. I need to include this login system into PrestaShop and do the logi...
-
Hi everyone, I'm currently trying to override a module to adapt it to the functioning of the site. The goal would be to override a custom class ModuleClass from this module (located in /modules/<module>/classes/ModuleClass.php) which extends ObjectModel. I tried this by putting an override...
-
- override
- custom class
-
(and 2 more)
Tagged with:
-
Hi all, Is it possible to override classes in src folder? Especially I need to add an additional field to the OrderPresenter's present() method which is located at /src/Adapter/Order/OrderPresenter.php PrestaShop version: 1.7.0.6 Thank you in advance for any help! BR, Paulius
-
I am working on a Prestashop 1.7 and need to add a new field to combinations tab in back-office product details page . I was successful in adding the field to twig file and saving the data to product table ( via product class override ). Now I need to show the saved value in the said field in comb...
- 1 reply
-
- backoffice
- controller
-
(and 4 more)
Tagged with:
-
Hi all, i want to modify PrestaShop\PrestaShop\Adapter\Cart\Comparator\CartProductUpdate; but i found nothing in the prestashop documentation. Who can help me?
- 1 reply
-
- ps1.7.7
- src/adapter/cart
-
(and 2 more)
Tagged with:
-
Greetings, Am trying to set in the country ID or ISO value within the link to pre-select the country. This is due that counties in EU have tax set in the price and out of EU the prices are without tax and if I send now an link to a customer they are not getting the price they should see. I al...
- 5 replies
-
- pre-select
- iso_country
-
(and 1 more)
Tagged with:
-
Hi community members. I was trying to override a listing controller from this path `controllers/front/listing/CategoryController.php`. As you all know you just need to copy and paste this file with the relative path into your custom module like this `modules/mymodule/override/controllers/f...
- 1 reply
-
- controller
- listing
-
(and 3 more)
Tagged with:
-
I bought a Blog module in order to write blog posts directly in Prestashop : https://addons.prestashop.com/fr/blog-forum-actualites/25908-blog.html But I found out that this module forces me to have 3 components in my blog posts URLs like this: blog/post/post-title In the module settings I...
-
Im working on 1.7.8+ version, i would like to add custom fields to product without override. (facing many issues with override, sometimes need to remove /var/cache/<dev/prod>/class_index.php). The fields are used for frontend and backend purpose. Is there a way that custom fields can...
- 4 replies
-
- custom fields
- module
-
(and 2 more)
Tagged with:
-
Buenos días. Instalé el módulo de AliExpress de Línea Gráfica y necesito hacer un override de la class AlliExpressAttribute para que se tenga en cuenta en futuras actualizaciones. Lo he realizado de mil formas y Prestashop no ejecuta mi Override. He creado el archivo AlliExpressAttrib...
- 2 replies
-
- override
- override modules
-
(and 4 more)
Tagged with:
-
Hello everyone I would like to know if anybody has tried to decorate a controller ? I made a test with the symfony way to decorate a core controller in a custom module. The point was to caught the "toggleStatusAction" when you click on the active icon in the customers list (BO) . I followed the...
-
I want to modify the list of product displayed in the back-office of Prestashop 1.7, And at some point i want to remove some product from displayed based on condition. So i thought that i should Override the AdminProductController (older controller) but i found that this controller has been moved...
- 4 replies
-
- override
- controller
-
(and 1 more)
Tagged with: