10-16-2020 11:32 PM - edited 02-03-2024 7:22 PM
Hi,
Let's say I have a product page like this one
below the main image, you'll see a section called: PRODUCTOS COMPLEMENTARIOS, it has a product with a picture, description, price, etc.
below there is a carousel with the name PRODUCTOS SIMILARES, and the same thing, pictures, descriptions, etc.
We want to control in a programmatic fashion these elements. Basically when the product page is loaded, we need to send a request to our API, and we will return a set of products (images, descriptions, prices, etc) that are going to be loaded in these sections.
Could you please guide me on how to accomplish this?
Hi Rcmy,
In product details API itself present in ProductsController, you will get product references. You can configure the list of products as product references in backoffice or through impex and retrieve it via API.
Or you can use /{productCode}/references API to fetch just the references excluding the other product details
Thanks,
Ruchi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.