![]() To achieve that open file admin/view/javascript/journal3/dist/main.js and find word “alsobought” and you will see codes like below: b&e.createElement(m.a," Let’s say we have a database table “oc_customer_to_product” and have data like below, now if we want to show products as per customer, here the customer_id 3 will show product_id of 2, 5, 9, 17, 21, 46 and the same for other customers. Let’s take an example of multi-vendor where you store products as per the customer id, in such case Journal theme Product Rules cannot filter out those products, thus we need some coding to achieve those Product Rules. Read: Upgrade Opencart from version 2.3 to 3.0.3.1 and Journal theme 2 to 3? Coding tutorial to add another Product rules in Journal theme admin ![]() If you have a custom database table where you have the products Ids that you want to show then it is not possible with this Product Rules, for that you need to create the custom Product Rules. With the above settings and Product Rules, you can filter out most of the Products that you want to show in the module. ![]() Others are self explanatory, let’s see the custom and advanced option.Ĭustom: When you select the Custom option in Product Rules, then you will see Products field where you can add the any products you want and those products will be shown in the frontend.Īdvanced: When you select the Advanced option in Product Rules, then you will see other fields where you can select categories, manufacturers, options, attributes, filters and others options to filtered out the products as per your needs. In the Products Rules you can see the following options: The Product Rules is the products filter to show in the frontend module. Here you can enter the details as per need. Once, above general settings are entered, click the blue button below General, now you will see the new section: You can select options for Blocks or Tabs or Accordion.You can display products in Blocks or Tabs or Accordion.Product Grid Style and Product List Style.Enter the Image Dimensions or leave it blank for auto sizes.Schedule the timing, if you want to show always then leave it blank.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |