Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Rules, Catalog Management


patrocine

Recommended Posts

Posted

Hello everyone
I'm not a good programmer, that's why this idea took me a long time to create and use it to load a feed of products and order all the products automatically in my merkaplace.
Category Rules order products automatically in eaisypopulate.php

Category rules have a function to sort products into their categories automatically by parameters in the product information.
for example in a fid of 10,000 computer products
Condition 1: if in the product name "Laptop Asus" add to the categories Lapto/asus
Condition;2 if the product reference starts with "micrsd" add the product to the Cards/Micro Sd folder
Condition 3: if the provider's family is "48" add the product to the Gamming Chairs category/

ADVANTAGE
New vendor products are already automatically sorted into their category without selecting it.
I can change the name categories and move them from places where I want, currently that is not possible, the category is in the product feed and every time you upload it to the system, if it does not find the category, it creates it again.
Reconfigure the products in the categories only by renaming the rules.
Save but a lot of time in routine functions that you will not have to do anymore

 

from the line 4200

https://github.com/patrocine/OsCommerce-2.3.1-Classic-Empresa-3.0-Beta/blob/main/admin/easypopulate.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...