I’m having some issues, I’m loading some nodes and i want to get some values field, this is how is my field I’m loading my nodes like this: But i dont know how to get en fr and pt fields values Could you please help me? Regards Mario Answer You can load translation for each language then get corresponding field’s
Tag: module
Binding Interfaces to Implementations in Eloquent relationships
According to “binding-interfaces-to-implementations” it is possible to bind an interface with its implementation, as follows: So when I call the next line, I will get an User object: ???????? However… when I try to do the same process with an Eloquent relationship: it, obviously, gives me the following error: ???? The same error if I try to instance an interface
Prestashop – REST endpoints for my module
I’m developing Prestashop module, it will export customer data and orders, it will contain hooks for customer synchronization, cart and order events – generally module which will be an integration with CRM-like service. My module contains it’s own views, made in vue.js – single page, async. There are register, login, settings, etc. pages. Communication with backend is made by GET/POST
prestashop – create customer group from module
I’m currently working on a few modules connected to a ERP system. The ERP manages pretty much everything (customers, products, orders, order status…) but I’m having a bit of a hard time with the customer groups. I want to be able to add and update those same groups threw a module. Does anyone have any insight on this? Will I
Opencart – How I can execute a custom code on product page? Without mods on controller product
I’m working on a Custom Mod for OpenCart. I want to populate the Product page when the customer opens it via a link. I don’t want to touch the MVC controller etc – can I just make an Ajax Call or do PHP inside the View? Answer Yes you can do this without touching the MVC pattern; although it is