Answer the question
In order to leave comments, you need to log in
How to specify the delivery conditions in the Bitrix product card?
All products in my store can be divided into 3 types:
1. Small-sized (Kettles)
2. Medium-sized (Washing machines)
3. Large-sized (Refrigerator)
Each type has its own delivery conditions, terms, cost, etc. The conditions are listed in a separate information block ( Delivery) and displayed by the "News" component.
Now I want to place the delivery terms also on the product card so that the buyer can immediately see everything on one page. What is the best way to implement this in Bitrix?
The first thing that came to my mind was to make a link in the product to the element of the "Delivery" infoblock. How successful and convenient is this solution? I would be grateful if you could tell me an example code for displaying an attached record.
There is also a section with related elements in the settings of the "Catalogue" component, can I use it? or is it different?
I have been familiar with Bitrix quite recently. I will be glad for any help)
Answer the question
In order to leave comments, you need to log in
Yes, as always, there are a lot of ways :)
Let's start with the simplest, tedious and obviously dead way - specifying the delivery text directly in the product description.
Bad idea, let's move on.
You can create a directory infoblock with product types. At the product itself, make a binding to the info block and display it in the product card template.
A good option - quick to implement, not at all hemorrhoids.
However, there is a nuance - it is not at all connected with delivery services. That is, if you write in the infoblock - 1-2 days, and in the Delivery Service 5-6, then on the checkout page he will see 5-6 days, not 1-2.
An even better solution is to create restrictions on the delivery service, receive and process them on the product page and display them to the user.
However, it is a very long and difficult path.
The best combination would be to create your own restriction in the delivery service tied to the infoblock directory. Those. combination of 2 and 3 solutions.
PS As a sight for the future, I would recommend the last option, but in view of the beginning acquaintance with Bitrix, only option 2.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question