Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Module Prestashop 8.1.0: GIF Image Uploader

I have just created this module which would allow you to upload a gif for each individual product to be included in the product gallery, however the gif must be saved in the database. The problem is ...
Cristian Capannini's user avatar
0 votes
0 answers
34 views

Prestashop SMTP test email text with wrong utf8 encoding

I activated the SMPT email option on Prestashop 8.2.0 and tried to send a test email through the dedicated section on the same page, I entered my email and I received the email. I noticed that ...
gassiopea's user avatar
0 votes
1 answer
39 views

How to fix products without cover image in PrestaShop

In a PrestaShop online store I have found products that have some images, but none are marked as a cover image, so these products are listed in the frontoffice without an image. I don't know the cause ...
José Carlos PHP's user avatar
1 vote
1 answer
32 views

Prestashop 1.7 Add ISBN value from product table to delivery-slip.tpl

Let me try to explain what I'm looking for: We use the ISBN field in products options for adding packing size information. Everything is fine when the order is passed directly in Prestashop. But when ...
Frank Tauscher's user avatar
0 votes
0 answers
27 views

Creating PrestaShop order programmatically via API call

I am creating a PrestaShop >8 module which will be handling connections with a marketplace. The marketplace has two options for delivery / courier choice for end-users - it can be either courier (...
Rafal Pietrzak's user avatar
1 vote
1 answer
49 views

Prestashop 1.7.6 custom module - order status change problem

I have a problem with custom module to prestashop 1.7.6. I try to change order status - it works fine but sometimes it dosn't trigger hookActionOrderStatusPostUpdate This is my loop to change order ...
Daniel Krzyżanowski's user avatar
0 votes
1 answer
47 views

prestashop 8.1.7 module hook being fired more than once

I have this module that contains a hook that reduces the product price by 2 and i have for example a product original price is 22 and becomes 16 also tried some echos and it echos twice so i assumed ...
scofio's user avatar
  • 3
-1 votes
1 answer
33 views

How to restore Home category prestashop without database access?

I deleted Home category prestashop by mistake, my problem is that I don't have access to the database, how to restore it without database access please? thank you I tried to import with csv file and ...
TEFY Paul's user avatar
0 votes
0 answers
21 views

Prestashop 8 CRON JOB custom modules on install [duplicate]

Hi I have a custom module written for booking items to buy later. As a rule, it works practically correctly, except for removing items from the list of a given user. However, the main problem is a ...
Fruitcake_Gary's user avatar
1 vote
0 answers
31 views

Filtering Doctrine join by condition

I have the following two Entities, Dimension and DimensionLang. Each Dimension may have multiple associated DimensionLang entries. I am trying to get a list of all dimensions and their corresponding ...
Musaffar Patel's user avatar
0 votes
0 answers
114 views

Empty _fbc parameter, what to pass?

I'm trying to improve my event score in meta business panel. Pixel is loaded from the GTM. I am working on Prestashop 1.7.8.5 and I'm not using facebook module. I'm around 3 out of 10 points in every ...
Piczon's user avatar
  • 19
2 votes
1 answer
67 views

Prestashop 1.7.8.8 Admin url from front office

I need to send from the front office admin URL: https://www.example.com/index.php?controller=AdminKbProductApprovalList. The solution I've found is using, which generates the correct URL,but without ...
Tape JIka's user avatar
0 votes
0 answers
49 views

Prestashop 8.1 create simple module, no redirection to the site

I have a problem in preparing a simple module that displays the word TEST both in the admin panel and on the user's side after accessing his account Module structure: [1]: https://i.sstatic.net/...
Fruitcake_Gary's user avatar
0 votes
4 answers
70 views

Execute Javascript function inside of a tpl file

I'm trying to execute a javascript function inside of a tpl file but i dont exacly how to perform this. i have a button in the tpl file : <button type="button" class="btn btn-primary&...
Ricardo Bolder's user avatar
-1 votes
1 answer
36 views

301 Redirections for inactive products on parent category

I am currently working with PrestaShop 1.7.8.7. At the moment, I have inactive products in my product catalog, and when I try to access the page of one of these products, I am naturally redirected to ...
Ambre Ramos's user avatar
1 vote
0 answers
61 views

Prestashop Module Development 1.6.1.24

When I connect my custom module controller to my main module file and configure the module with a form, it redirects me to the home of the admin dashboard. However, I want to execute my controller. I ...
Jud3v's user avatar
  • 311
0 votes
0 answers
39 views

Unable to acces to the translation section in prestashop

When I access the translation section I get the error in the figure. Attempted to load class "ThemeCollection" from namespace "PrestaShop\PrestaShop\Core\Addon\Theme". Did you ...
Domenico's user avatar
0 votes
0 answers
54 views

error when I access in debug mode in the products section

Exceptions 2 Logs 2 Stack Traces 2 PrestaShop\PrestaShop\Core\Exception\CoreException in [classes/]**[Hook.php](line 434)             // Exceptions that implements ModuleErrorInterface are usefull ...
CRISTIAN CRUZ ROSA's user avatar
1 vote
0 answers
53 views

Prestashop, add field to admin cms page form

I want to add option to add contact form to specific pages, I have the hooks: actionAdminCmsFormModifier and actionAdminCmsControllerSaveBefore My functions are not printing anything, I've already ...
Miguel Machado's user avatar
0 votes
0 answers
44 views

Override of product sorting in a back office order

I'm on prestashop 8.1.2 and I'd like to create a custom order for displaying the products of an order in the backoffice. I realized that this sorting was done in the handle() of the file src\Adapter\...
ClemArds's user avatar
0 votes
0 answers
44 views

Error with Localtunnel + Prestashop with Virtual Host on port 80 (Mamp Pro)

I launch Localtunnel with this command lt --port 80 --subdomain my-website --local-host my-website.test but it opens the front-office on a white page with this text: [Debug] This page has moved. ...
Fred K's user avatar
  • 13.9k
0 votes
0 answers
34 views

How to move product-customization text fields after product-variants in Prestashop 8.1.5?

inside product.tpl there is the next code: <div class="product-information"> {block name='product_description_short'} <div id="product-...
Andrés Mangas Jiménez's user avatar
0 votes
1 answer
73 views

for looping PHP syntax to Smarty Syntax

I have a PPH syntax from prestashop file: <select name="deadline" id="deadline" onclick="dead_line_all()"> <option value="235959" selected="...
kocat's user avatar
  • 17
0 votes
0 answers
49 views

Decorating productController in prestashop 8.1.6

I am trying to decorate the productController in prestashop 8.1.6 but I am getting below error: **You have requested a non-existent service "PrestaShopBundle\Controller\Admin\Sell\Catalog\Product\...
Nick K.'s user avatar
  • 11
0 votes
1 answer
71 views

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'demostore.ps_bids' doesn't exist

i created an updatebids.php where given the case, if certain amount of users share the same bet, this has to update to 1 extra euro/dollar. In the picture even same user can bet the same amount :/ ...
Dyna Blaster's user avatar
1 vote
1 answer
91 views

Browser Autocomplete on Inputs

I need an advice! I want to disable browser autofill in PS checkout form I'll admit I've already tried: -autocomplete="off" on forms and all inputs and doesn't work; I tried to replace ...
EnricaS's user avatar
  • 41
-1 votes
1 answer
81 views

DBQUERY PRESTASHOP

I am having problems using dbquery to query my database, When I run the following code: <?php $sql = new DbQuery(); $sql->select('*'); $sql->from('ps_orders', 'o'); print($results = Db::...
Adrián Fazanes's user avatar
0 votes
0 answers
48 views

How to send a copy of the order to the customer in Prestashop 8?

I have a store in Prestashop 8 and would require sending a copy to the customer every time an order is placed. It arrives perfectly to the administrator but not to the client. As an additional note, ...
Arturo Vasquez's user avatar
0 votes
0 answers
21 views

Prestashop 8 is not calculating the discounts correctly

Prestashop is not calculating the discounts correctly. I have 3 cart rules established in such a way that they are 5% discount if it exceeds $1000, 2% more discount if it exceeds $2000 and 3% discount ...
Arturo Vasquez's user avatar
0 votes
0 answers
152 views

Prestashop WAMPP OpenSSL error "Unable to generate private keys using openssl_pkey_new."

How can i fix this error in PrestaShop while using WAMPP "Unable to generate private keys using openssl_pkey_new. Check your OpenSSL configuration, especially the path to openssl.cafile.". ...
Yacine Ayechi's user avatar
1 vote
1 answer
40 views

Error when adding product image after deleting rows from ps_image table in Prestashop 1.6

I made a mistake and I need your help. I have a store based on Prestashop 1.6 and I was running out of space on the server so I decided to delete the images of disabled products. I identified the IDs ...
notGeek's user avatar
  • 1,518
1 vote
1 answer
76 views

WYSIWYG editor on TranslatableType custom field

I added an extra translatable field in the categories called "Description footer" but I'm having trouble using the WYSIWYG editor on that field. I use Prestashop 1.7.8.8 with Elementor addon ...
Augusto Murri's user avatar
1 vote
1 answer
62 views

Prestashop user account info in header section of website

I have prestashop 8.1.5 with Megafox theme on it. In the header section I have displayed user information but it looks like a drop down menu and unfortunatly I don't see the username when the user is ...
user2500183's user avatar
0 votes
1 answer
95 views

Prestashop 1.7: display categories list in tpl file

I want to display a list of categories in the tpl file of the 404 page. The categories to be shown are accessible in this array: $categories Array (5) 0 => Array (4) id_category => &...
Gianluca's user avatar
0 votes
0 answers
75 views

How to make quantity increase / decrease with minimal_quantity in Prestashop shopping cart

i would use for all Products the {$product.minimal_quantity} query to increase / decrease the amount of products in the Prestashop Cart. I use this function already in the Product Details Site with ...
redpillcoders's user avatar
0 votes
1 answer
149 views

PrestaShop - update stock quantity problem

I have a problem with update quantity in ps_stock_availabe table I am trying to run query: $query = "UPDATE `"._DB_PREFIX_."stock_available` SET quantity='".$quantity."' ...
ButcherFromHell's user avatar
0 votes
0 answers
75 views

How can I move the customization option so that it appears just below the size options?

How can I move the customization option so that it appears just below the size options? I want customers to see the product name, price, size, and then the option to add text. The current order is ...
Ramadan Cilomba's user avatar
0 votes
1 answer
76 views

Prestashop module open headless page

In my modules config page (backoffice) I want to open Smarty template file, but it should load just tpl content (no Prestashop header, menu etc). class MyModule extends Module { public function ...
Arbyzas's user avatar
  • 13
0 votes
1 answer
153 views

PrestaShop theme development

version: '3' services: mysql: container_name: some-mysql image: mysql:5.7 restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: admin MYSQL_DATABASE: prestashop ...
A. Moussa's user avatar
-4 votes
1 answer
130 views

Error Tools isSubmit with Prestashop 8.1.5 after upgrade

I have a module that the developer no longer supports for PrestaShop, it was changed to WooCommerce... The thing is that I really like the module and I updated my localhost to PrestaShop 8.1.5 from ...
Ely Ely's user avatar
0 votes
0 answers
386 views

PRESTASHOP Uncaught Error: Call to undefined method Tools::jsonDecode() and array_push(): Argument #1 ($array) must be of type array, string given in

I don't have a problem, I'm just droping my solution because someone may encounter this problem in the future. When I tried to pre order something this problem appears: Fatal error: Uncaught Error: ...
Ian Jones's user avatar
0 votes
1 answer
64 views

Troubleshooting form submission in PrestaShop's hookDisplayAdminProductsExtra module

I'm attempting to create a module in PrestaShop that adds a field in the hookDisplayAdminProductsExtra. However, the submit method is not executed when I submit the form. public function ...
rafawastaken's user avatar
0 votes
0 answers
30 views

How do I disable the circular slider buttons?

enter image description here I have the 'Ebotic' theme installed in my Prestashop online store, but for some strange reason double buttons are enabled for the slider, I already tried to search for the ...
CristoferMtz's user avatar
0 votes
1 answer
59 views

How to retrieve product/order return information via PrestaShop 8 API?

I'm working with the PrestaShop 8 API and struggling to find the API endpoint for fetching product return details. Does anyone know which API endpoint in PrestaShop 8 can be used for retrieving this ...
Hub's user avatar
  • 67
1 vote
1 answer
331 views

Error 302: ERR_TOO_MANY_REDIRECTS in Prestashop Back Office

I would like to set up a local Docker-based development environment for theme and plugin development. The environment would be a copy of the existing store, however, I have encountered an issue. ...
mtdkuser's user avatar
0 votes
1 answer
50 views

Store in Prestashop (1.7.5) does not recognize theme or images

I have created a multi-store in Prestashop (1.7.5), the problem is that every time I add a new store to the multi-store it is created without any style or functionality, I will attach a photo of how ...
jamaym's user avatar
  • 1
0 votes
0 answers
61 views

PrestaShop 1.7.8 API bug on simple product creation

I'm trying to solve what seems to be again a PrestaShop bug. Since I have an external management software for the store, the company who made it is using directly PS API to synchronize the e-commerce ...
leodedro's user avatar
0 votes
0 answers
91 views

Creating a new search provider in prestashop

I have a new controller which is to list products just like a category/supplier or any other controllers in controllers/front/listing folder. I created the controller in override/controllers/front/...
SRUTHI R BABU's user avatar
0 votes
0 answers
55 views

Prestashop payment methods is empty in backoffice

I am running a Prestashop 1.7.5.2 and i have 4 payment methods : paypal, monetico etc.. On the backoffice, payment -> payment methods -> the listing is empty! I can't figure out why ! any one ...
jix-dev's user avatar
0 votes
0 answers
59 views

Allowing PDF upload in product customization Prestashop 1.6: how to delete the uploaded file

I'm following this thread and I'm trying to customize product.tpl I've added this code to have a pdf icon when the user upload a pdf file: {if isset($pictures.$key)} {if strpos($pictures.$key, '.pdf')...
user23612259's user avatar

1
2 3 4 5
118