Writing Dynamic Block for the Journal theme in Opencart 3.x
We use Opencart 3.0.3.2 with the established Journal 3.1.4 theme.
We need Dynamic Block to remove the styles under the buttons in the section.
Product Extras--> Extra Modules
The generation of the block should take place as follows:
Opencart has 3 filters: Filter: Related goods (filter meanings: Goods1, Goods2, Goods3 etc.)Filter: Exhibition (filter meanings: C, D, L, M .... etc.)Filter: Thickness (filter meanings: 0.05, 0.07, 0.085 .... etc.)Some products have these filters, such as:
Products 1 - 1
Filter: Related Goods = Goods1
Filter: Exhaust = C
Filter: thickness = 0.05
Products 1 - 2
Filter: Related Goods = Goods1
Filter: Exhaust = C
Filter: thickness = 0.07
Products 1 - 3
Filter: Related Goods = Goods1
Filter: Exhaust = C
Filter: thickness = 0.085
Products 1 - 4
Filter: Related Goods = Goods1
Filter: Exhaust = D
Filter: thickness = 0.05
Products 1 - 2
Filter: Related goods = Goods2
Filter: Exhaust = D
Filter: thickness = 0.05
Products 2 - 2
Filter: Related goods = Goods2
Filter: Exhibition = L
Filter: thickness = 0.05
Products 2 - 3
Filter: Related goods = Goods2
Filter: Exhaust = M
Filter: thickness = 0.05
Products 2 - 4
Filter: Related goods = Goods2
Filter: Exhaust = D
Filter: thickness = 0.07
The goods 3-1
Filter: Related goods = Goods3
Filter: Exhibition = L
Filter: thickness = 0.05
The goods 3-2
Filter: Related goods = Goods3
Filter: Exhaust = C
Filter: thickness = 0.07
The Dynamic Block algorithm:
When you download a product page, the Product1-1 Dynamic Block must receive the value of the filters of the product.If the goods are assigned Filter: Related Goods (The Goods1-1 it is assigned and has the meaning of "The Goods1") then you need to find all the goods with the value of the filter Filter: Related Goods = The Goods1 except the current, having the status of "in availability" and get the values of their Filters Exit and Thickness and get the buttons with the signature of these values, the click on which leads to the list of the goods filtered by the value of the filter this button + the filter Related Goods = The Goods1
Examples of a block of goods:
Per the description of the TZ is summary, ready to record a video with an example of how it should work.
Work results
Client's review of cooperation with Aleksandr T.
Writing Dynamic Block for the Journal theme in Opencart 3.xAlexander is a professional in his case.
I proposed a better solution than I wanted!
The code provided the possibility of setting the parameters!
I will definitely contact him again!
![]()
Freelancer's review of cooperation with client
Writing Dynamic Block for the Journal theme in Opencart 3.xSet up a task at the highest level. I described, provided the video to be clear the essence of the task. It is also pleasant that a person is listening, while discussing the task I proposed a more convenient option and we implemented it.
He was always in contact when it was required and was not offended by payment.
I hope for further cooperation 🙂
Current freelance projects in the category Web Programming
Create on the website goodop: (many) directories, product templates, categories ...
22 USD
A new online store is being created with 10,000+ products. It is necessary to create on the site on the Goodshop platform: Directories - 1200 pcs Directory values - 20,000 pcs Product templates - 400 pcs Product categories - 400 pcs Enter all SEO in product categories… Web Programming, Website Development ∙ 1 hour 23 minutes back ∙ 14 proposals |
Create a 1-page website with 2D visualization of live coefficientsA one-page website is needed that in real-time requests live betting odds for a football match via API and visualizes them as two 2D characters on a football field. A visual reference is provided in the photo. All assets will be provided privately.Animation:The entire… HTML & CSS, Web Programming ∙ 1 hour 30 minutes back ∙ 25 proposals |
GoPos IntegrationHello, has anyone done an integration of GoPos with a custom website for a restaurant in Poland? I need help, their documentation is very sparse, there is only swagger and it lacks descriptions. https://app.gopos.io/doc/swagger-ui/index.html The essence is this: we used their… PHP, Web Programming ∙ 5 hours 28 seconds back ∙ 15 proposals |
Development of a modern website for the Theater
223 USD
We are looking for a web developer to create the official website of a modern cultural platform. The project unites theatrical, artistic, educational, and cultural initiatives. It is necessary to create a modern responsive website that will simultaneously serve an image… Content Management Systems, Web Programming ∙ 5 hours 36 minutes back ∙ 65 proposals |
AI agent of sports nutrition technologistThe agent helps develop formulations for new sports nutrition products — protein bars, proteins, pre-workouts, isotonic drinks, bars, etc. The main feature: the agent knows the legislation of different countries and automatically takes it into account when creating the… AI & Machine Learning, Web Programming ∙ 5 hours 54 minutes back ∙ 40 proposals |