Jump to content

Ress

Members
  • Posts

    545
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Ress

  1. You can put this information as a feature of the product, and with some modifications, you can display it exactly where you need it.
  2. You could contact the hosting company, they may be able to provide you with some information about this.
  3. 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.
  4. 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).
  5. 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).
  6. Normally, it works like you said. It's just that the theme overrides the section template, and it changes the translation domain.
  7. Do you have many active carriers, what do external requests for pricing do?
  8. Can you attach the module again? Download is no longer available.
  9. 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.
  10. Can you post the store link? Because I see you have some changes made, so we can see exactly.
  11. Você precisa de um módulo como este: https://addons.prestashop.com/en/search?search_query=combinations in table
  12. Você pode alterar a partir da área de tradução, sem necessidade de alterar o modelo.
  13. Acho que você está usando um módulo de url bonito, que remove os ids do link. Infelizmente, você não tem muito o que fazer, pois esse módulo, dependendo da url, busca a categoria no banco de dados, e tendo a mesma url, essa confusão vai aparecer. É melhor mudar uma das urls.
  14. Adicione esta regra CSS: .footer-container .links .collapse { display: inherit !important; }
  15. 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; }
  16. Can you provide us with the link to the store, and exactly the link in question?
  17. 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.
  18. Try regenerating htaccess. Go to Shop Parameters -> Traffic & SEO, and just hit an Save.
  19. 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.
  20. You can disable from: Advanced Parameters -> Performance -> Smart cache for JavaScript
  21. 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?
  22. 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?
  23. 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
×
×
  • Create New...