1. Create an additional layout for the category page, so that there is one category with neither products nor subcategories, only a text block.
https://lfood.com.ua/tovary-horeca in the layout for this page, it is necessary to hide the subcategories and leave only the bottom block
2. Connect https://elfsight.com/ru/google-reviews-widget/opencart/
add code
// Example code for tracking purchase
dataLayer.push({
event: 'purchase',
ecommerce: {
transaction_id: 'T12345', // Unique transaction identifier
affiliation: 'Online store',
value: 500.00, // Total transaction value
currency: 'UAH',
tax: 50.00,
shipping: 0.00,
items: [
{ item_id: '456',
item_name: 'Dick ErgoGrip 130 mm semi-flexible boning knife yellow 82982130-02',
price: 511,
quantity: 1,
item_brand: 'Dick',
item_category: 'Meat knives',
item_category2: 'Dick knives', }
]
},
user: {
phoneNumber: '380хххххххххх', // User's phone number
emailAddress: 'xxxxx gmeil.com' // User's email address
},
gtm.uniqueEventId: 12
});
It is necessary to add data to the dataLayer:
Upon the purchase event, add the phone number and email to the dataLayer object