Jump to content

Edit History

Paul C

Paul C

On 1/22/2021 at 5:09 PM, serwol said:

Hello, with this function is it possible to change front product display in a category ?

I've developped a module widget that display a form with selects to find some products and I managed to get the ids of the product but I don't know how to alter the product list.

Have a look at the stock ps_viewedproduct module. The function getViewedProducts() should contain the code you need to get the display data correctly, and the template in that module illustrates how to display them.

Paul C

Paul C

On 1/22/2021 at 5:09 PM, serwol said:

Hello, with this function is it possible to change front product display in a category ?

I've developped a module widget that display a form with selects to find some products and I managed to get the ids of the product but I don't know how to alter the product list.

Have a look at the stock ps_viewedproduct module. The function getViewedProducts() should contain the code you need to get the display data correctly, and the template in that module to illustrate how to display them.

×
×
  • Create New...