-
Posts
545 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Ress
-
You can put this information as a feature of the product, and with some modifications, you can display it exactly where you need it.
-
Email - sending from Prestashop but not reaching customer
Ress replied to GMM148's topic in General topics
You could contact the hosting company, they may be able to provide you with some information about this. -
Payment error status when using CoD (Cash on Delivery)
Ress replied to bazsfajd's topic in Configuring and using PrestaShop
In the validatedOrder function of the PaymentModule class, the amount paid (which is received, rounded to 0 decimal places) and the total shopping cart are compared again, and if the amounts are not equal, it goes to that status. if ($order_status->logable && number_format($cart_total_paid, _PS_PRICE_COMPUTE_PRECISION_) != number_format($amount_paid, _PS_PRICE_COMPUTE_PRECISION_)) { $id_order_state = Configuration::get('PS_OS_ERROR'); } As you can see, here the rounding is done by the variable "_PS_PRICE_COMPUTE_PRECISION_", and in the cash on delivery module, getOrderTotal() function, it is done by $computePrecision = Context::getContext()->getComputingPrecision(); Probably you should adjust the functions slightly so that the same value is used for rounding. -
If you have overridden the class, for the changes to take effect, you must delete the class_index file from /var/cache, prod and dev (from prod is when the shop is not in debug mode).
-
That hook is executed when you add / delete a product, I tell you for sure. Do a simple test, type "exit;" in the hook, and check in the console, on the network, if the execution stops (you can also give a var_dump with a text, to see if it returns that text to you).
-
Featured Products module, can't change displayed text
Ress replied to MX-Drew's topic in Bug reports
Normally, it works like you said. It's just that the theme overrides the section template, and it changes the translation domain. -
Shop is going slow if Customer add to cart many products
Ress replied to streetwearitaly's topic in General topics
Do you have many active carriers, what do external requests for pricing do? -
presrta shop 1.7.6.5
Ress replied to Halibriam's topic in Upgrading PrestaShop from a previous version
Can you attach the module again? Download is no longer available. -
La cosa più importante è impostare il nuovo URL nella tabella "ps_shop_url" e modificare i dati di accesso del nuovo database nel file /app/config/parameters.php Dopo averlo fatto, prova a svuotare la cache del browser o prova in una finestra di navigazione in incognito.
- 4 replies
-
- trasferimento dominio
- aggiornamento dominio
- (and 1 more)
-
How to fix the width of breadcrumb and page details page
Ress replied to sphway's topic in General topics
Can you post the store link? Because I see you have some changes made, so we can see exactly. -
Bien sûr, vous devez ajouter dans le OrderController : public function getBreadcrumbLinks() { $breadcrumb = parent::getBreadcrumbLinks(); $order_url = $this->context->link->getPageLink('order'); $breadcrumb['links'][] = [ 'title' => $this->trans('Order', [], 'Shop.Theme.Checkout'), 'url' => $order_url, ]; return $breadcrumb; }
-
Featured Products module, can't change displayed text
Ress replied to MX-Drew's topic in Bug reports
-
You probably removed from the form that input from which you select the contact, but in order not to give you that error, you have to make changes in the plugin: /modules/contactform/contactform.php in sendMessage() function, remove $id_contact verification.
-
Try regenerating htaccess. Go to Shop Parameters -> Traffic & SEO, and just hit an Save.
-
The product will not disappear from the shopping cart after deletion
Ress replied to janeklass's topic in General topics
I don't think that's the problem with that. I looked at the theme demo, and it's the same problem and there, the shopping cart is not updated after deletion. You can contact the theme developers to resolve this. -
The product will not disappear from the shopping cart after deletion
Ress replied to janeklass's topic in General topics
You can disable from: Advanced Parameters -> Performance -> Smart cache for JavaScript -
That hook works when you add something to the cart. Is the hook registered? If so, what exactly do you do that doesn't work?
-
Help! Orders status is not set automatically anymore.
Ress replied to waterparty's topic in General topics
Does the customer reach the order confirmation page? From what I imagine, the order process does not reach the end, an error occurs until the current state is set (the order has been created so far). Did you try to place an order with active debugging?- 5 replies
-
- prestashop17
- orders
- (and 5 more)
-
Send Email to Abandoned Carts
Ress replied to Catarina123's topic in Configuring and using PrestaShop
Endriu's idea was very good, I really didn't know about this module. It's called Customer follow-up, and you can find it in the "Catalog Modules" section, or on github, https://github.com/PrestaShop/ps_reminder