Jump to content

Search the Community

Showing results for tags 'context'.

  • Search By Tags

    • context ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 17 results

  1. Hi! I want to create a "quick checkout" functionality for my 1.7.7 Prestashop. I have added a button to the product page which, which opens a popup where I enter some information to place my order. The problem I ran into was that nowhere do I find what steps I should follow. As I think:...
  2. I have created a module in Prestashop 1.7.6 which update products + product attribute stocks by 2 ways : In the back office (the settings of the module) it works perfectly From a cron by the server every night using a declared service called by this kind of command line : php /var/www...
  3. Hallo liebe Community, Ich muss in einem Script den Shop bzw genauer den Country Context manipulieren, schaffe es aber nicht die Country ID zu allgemein zu setzen. Warum das Ganze: Ich habe ein Script was mir ein File erstellen soll mit bereits richtig berechneten Preise...
  4. Hello every body. I know that static properties don´t share between php pages. How prestashop persist or share context between controllers? On the other hand i can use getContext in everywhere... Does prestashop use session to store context? How does it? Thanks a lot....
  5. Greetings PS community, I'm a relatively new PHP dev with zero experience in Prestashop, I've only been using it for a week. With my project, I'm trying to add a few currencies, modifying the currency's displayName & symbol to something else in translations/cldr/main--en-US--currencies, then al...
  6. Ciao a tutti, sto riscontrando questo errore provando ad accedere al front-end del mio sito: www.stilprojectstore.com Il back-end funziona correttamente. Qualche idea su quale possa essere il problema? Ho già provato a far ricompilare la cache smarty ma non cambia nulla Grazie
  7. hi i think i have an issue with my database, we have had issues with the website for the last 2 months which are slowly getting resolved however once we fix one issue, another issue happens. i can no longer access the website, and getting the following error: any idea wh...
  8. Hello. I'm having an issue about the id_cart on the Cookie/Context object. I have a custom payment module that needs to access the Cookie/Context object from Prestashop in order to validate the order. Below is when I print the cookie object after purchasing an item on the shop that I'm working...
  9. Bonjour, Je rencontre un problème pour l'insertion d'une nouvelle information lors d'une commande. Lors de l'étape du choix du transporteur, j'ai rajouté une case à cocher. Je récupère ensuite la valeur avant le choix du paiement dans $this->context->cart->receipt = Tools::getValue('recei...
  10. Bonjour, Je developpe actuellement un script (appel depuis un cron) permettant la mise à jour automatique des statuts des commandes client à "Livraison en cours" ainsi que le numéro de tracking associé. Je précise que sur notre solution Prestashop "la gestion de stock avancée" est active. J...
  11. I have the below PHP file in my module folder that is call with an ajax post (jquery from UI). And I am getting the following error: Class 'Context' not found in ... when I trigger the POST I am running PS 1.6, how can I access the context from this file?? <?php define('_EXTERNAL_SCRIPT_', 't...
  12. Bonjour, j'ai installé hier soir, avec succès, ma boutique prestashop version 1.6.0.8 sur un serveur mutualisé chez Infomaniak. Tout était réussi : j'ai pu accéder au front office ainsi qu'au back office. Puis ce matin, oups, impossible d'accéder au front office de ma boutique. Par contr...
  13. Hola... Estoy implementando la factura digital en mi sitio. Para ello necesito obtener las variables del "customer" actual, para lo cual utilizo el id de $cart->id_customer. Cuando hago lo siguiente: $customer=new Customer((int)$cart->id_customer); se supone que ya cree e objeto customer....
  14. Hi, I would like to add an external variable in employee context array, how to add additional variable in employee array? Let's say I wanted to add something like this: $context->employee['accessVerified'] = true; so later I could access that variable somewhere in admin like: if($contex...
  15. Bonjour, En vue de proposer mon module en version 1.4, 1.5 et 1.6, j'ai fait un peu de refactor dans mon code pour ne gérer qu'une seule version de mon fichier. Depuis celà, mon module est refusé par le "validator" pour cause de "Use of globals is forbidden". J'ai tout d'abord une variable $v...
  16. Hello, I'm developing a little module and trying to generate a nice URL using: Context::getContext()->link->getModuleLink('mymodule', 'myfrontcontroller'); It works but the url I get is different depending on the context, for example if I am on BO I see: http://www.mysite.com/en/mod...
  17. Hi! I'm trying to deploy Prestashop 1.5 for a marketplace-like solution. So I have multistores set up. Stores have common products, but each store sets its own prices, each has its own cart, and each will check-out separately. (When I tried with common cart, the same product from different s...
×
×
  • Create New...