Skip to content
Advertisement

Tag: module

How to access to node fields in drupal 8

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

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

Advertisement