Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
How can I access Configuration::get('PS_LAST_QTIES') at core.js?

at prestashop 1.7 how could I access Configuration::get('PS_LAST_QTIES') at core.js?

Thank you, Miguel Gibert

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I've sorted it out by passing the variable through the ProductController.php

at $this->ajaxRender(Tools::jsonEncode([

I added: 'ps_last_qties' => Configuration::get('PS_LAST_QTIES')

and then I received it at core.js: o.default.on("updatedProduct", function (e) {

and was able to use it as e.ps_last_qties

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!