• LightLight theme
  • Dark Dark theme
  • Write to us
    • Register
    • Login
  • English English
    • Український Український
  • EUR
    • EUR
    • UAH
elbuz - online store creation with smart AI product selection and full business process automation
elbuz - online store creation with smart AI product selection and full business process automation
  • Products
    • AI Search and Recommendations for Online Stores
    • AI Online Chatbot (Customer Support)
    • Automatic processing and comparison of supplier prices
    • CRM system for an online store
    • Parsing and collecting data from websites and marketplaces
    • Modules for OpenCart
  • Solutions
    • Create an online store — cloud platform
    • Automation of work on marketplaces
    • Automatic filling of the product catalog
    • Implementation and support of CRM systems
    • OpenCart website development and support
  • Knowledge base
    • Blog
    • Elbuz Platform Guides and Instructions
    • Encyclopedia of Business Education
    • Frequently Asked Questions (FAQ)
  • Company
    • About Elbuz
    • To partners
    • Support Rules
    • Forum
    • Contact
      • Opening hours:
        Mon-Fri from 09:00 to 18:00
      • jumpersys@elbuz.com
      • Facebook
      • Twitter
      • YouTube
  • 0
  • 0
I want to collaborate
Search
elbuz - online store creation with smart AI product selection and full business process automation
elbuz - online store creation with smart AI product selection and full business process automation

The best eCommerce business automation platform in the world in 2026.

Start cooperation
Contact
  • jumpersys@elbuz.com
  • Home
  • Elbuz Platform Documentation
  • Import data (product catalog export)
  • Quick update of the online store website using the Elbuz Tunnel module
  • SQL queries for individual updating of the online store website

SQL queries for individual updating of the online store website

SQL queries allow you to update the website of the online store according to your individual requirements. Each CMS needs its own SQL queries, so in this section there will be separate queries for each CMS. Queries are written in the section "Configuring SQL queries"
elbuz etrade jumper export products

CMS OpenCart

The examples are given with the table prefix "oc_", if you have a different prefix, change it in the query.

Updating the title meta tag for the OpenCart product manufacturer based on the title tag from the Elbuz manufacturers directory

UPDATE oc_manufacturer_description md INNER JOIN etrade_manufacturer_temp t2 ON md. manufacturer_id = t2. manufacturer_id SET md. meta_title = t2. meta_title;;;

Updating the OpenCart product model based on the Elbuz product ID
UPDATE oc_product t1, etrade_product_temp t2 SET t1. model = t2. product_id_jumper WHERE t2. product_id>0 AND t2. product_id = t1. product_id;;;

OpenCart product description update based on Elbuz short description

UPDATE oc_product_description t1, etrade_product_temp t2 SET t1. description = t2. description_short WHERE t1. product_id = t2. product_id AND t1. language_id = t2. language_id;;;

SEO URL Update OpenCart Based on SEO Elbuz
When updating the OpenCart site, CNCs are registered only for new entries (new categories, products), to update the current CNCs on the site, use these SQL queries.

OpenCart version 2. X
# Categories
UPDATE oc_url_alias ua INNER JOIN etrade_category_temp e ON e. category_id = CAST(SUBSTRING(ua. query FROM 13) as UNSIGNED) SET ua. keyword = e. seo_url WHERE e. row_exist = 1 AND e. seo_url!='' AND ua. query LIKE 'category_id=%';;

# Products
UPDATE oc_url_alias ua INNER JOIN etrade_product_temp e ON e. product_id = CAST(SUBSTRING(ua. query FROM 12) as UNSIGNED) SET ua. keyword = e. seo_url WHERE e. row_exist = 1 AND e. seo_url!='' AND ua. query LIKE 'product_id=%';;

# Manufacturers
UPDATE oc_url_alias ua INNER JOIN etrade_manufacturer_temp e ON e. manufacturer_id = CAST(SUBSTRING(ua. query FROM 17) as UNSIGNED) SET ua. keyword = e. seo_url WHERE e. row_exist = 1 AND e. seo_url!='' AND ua. query LIKE 'manufacturer_id=%';;

OpenCart version 3. X
# Categories
UPDATE oc_seo_url su INNER JOIN etrade_category_temp e ON e. category_id = CAST(SUBSTRING(su. query FROM 13) as UNSIGNED) SET su. keyword = e. seo_url WHERE e. row_exist = 1 AND e. seo_url!='' AND su. query LIKE 'category_id=%';;

# Products
UPDATE oc_seo_url su INNER JOIN etrade_product_temp e ON e. product_id = CAST(SUBSTRING(su. query FROM 12) as UNSIGNED) SET su. keyword = e. seo_url WHERE e. row_exist = 1 AND e. seo_url!='' AND su. query LIKE 'product_id=%';;

# Manufacturers
UPDATE oc_seo_url su INNER JOIN etrade_manufacturer_temp e ON e. manufacturer_id = CAST(SUBSTRING(su. query FROM 17) as UNSIGNED) SET su. keyword = e. seo_url WHERE e. row_exist = 1 AND e. seo_url!='' AND su. query LIKE 'manufacturer_id=%';;

Update on the OpenCart website of the minimum number of products to order
UPDATE etrade_product_temp t1, oc_product t2 SET t2. minimum = t1. order_minimum WHERE t1. uuid = t2. uuid;;;

Updating prices for OpenCart product options based on option products created in the Elbuz base catalog
To update option prices on the site, you must activate the flag "Update option values based on option products"
elbuz etrade jumper export products
Updating the price, price prefix, article for an option product
UPDATE oc_product_option_value pov INNER JOIN etrade_product_attribute_temp pa ON pa. product_id = pov. product_id AND pov. product_option_id = pa. product_option_id AND pov. option_id = pa. option_id AND pov. product_option_value_id = pa. product_option_value_id INNER JOIN etrade_product_temp p ON p. uuid = pa. product_uuid AND p. type_id=2 SET pov. price = p. price, pov. price_prefix = '=', pov. sku = p. mpn;;;
You can update the price difference between the main product and the option product for option products, if each option has its own price
UPDATE oc_product_option_value pov INNER JOIN etrade_product_attribute_temp pa ON pa. product_id = pov. product_id AND pov. product_option_id = pa. product_option_id AND pov. option_id = pa. option_id AND pov. option_value_id = pa. product_option_value_id INNER JOIN (SELECT uuid, price FROM etrade_product_temp WHERE type_id=1) p ON p. uuid = pa. product_uuid INNER JOIN (SELECT uuid_parent, price FROM etrade_product_temp WHERE type_id=2) p_option ON p_option. uuid_parent = p. uuid SET pov. price = p_option. price - p. price;;;

CMS 1C-Bitrix

Bitrix property update based on the usual Elbuz field.
For example, to update the Bitrix property with the SUPPLIER code for the ID = 2 infoblock based on the "Accountant name" field, you must use these SQL queries

SET @iblock_id = 2;;; SET @property_code = 'SUPPLIER';; SET @property_id = (SELECT b_iblock_property. id FROM b_iblock_property WHERE b_iblock_property. code = @property_code AND b_iblock_property. IBLOCK_ID = @iblock_id LIMIT 1);;; INSERT INTO b_iblock_element_property (iblock_property_id, iblock_element_id, value) SELECT @property_id, b_iblock_element. id, etrade_product_temp. contractor_name FROM b_iblock_element, etrade_product_temp WHERE b_iblock_element.xml_id = etrade_product_temp. uuid AND b_iblock_element. iblock_id = @iblock_id AND b_iblock_element. id NOT IN (SELECT iblock_element_id FROM b_iblock_element_property WHERE iblock_property_id = @property_id GROUP BY iblock_element_id);;; UPDATE b_iblock_element_property, b_iblock_element, etrade_product_temp SET b_iblock_element_property. value = etrade_product_temp. contractor_name WHERE b_iblock_element. id = b_iblock_element_property. iblock_element_id AND b_iblock_element.xml_id = etrade_product_temp. uuid AND b_iblock_element. iblock_id = @iblock_id AND b_iblock_element_property. iblock_property_id = @property_id;;;


Program for online store

Save a link to this article
6781 Like
Subscribe

Stay up to date with news

No spam, only useful information about the latest updates and exclusive content!

Please specify your e-mail address.
Thank you for being with us!

Attention!

elbuz - creation of online stores with full automation of business processes
elbuz - creation of online stores with full automation of business processes

Elbuz is the key to successful automation of online stores!

Start cooperation

We do not cooperate with companies from the Russian Federation!

Features
  • Online store automation
  • Create an online store
  • AI search & recommendations
  • AI chat support
  • Price-list processing
  • PIM system
  • CRM for store
  • Content automation
  • Marketplace export
  • Website parsing
Information
  • About the developer
  • Partnerships
  • Articles
  • World Technology News
Support
  • Support Rules
  • Documentation (training)
  • Frequently asked questions (FAQ)
  • Forum
Contact
  • Opening hours: Mon-Fri from 09:00 to 18:00 (GMT+2)
  • E-mail: jumpersys@elbuz.com
  • Address: Ukraine, Kharkov

© 2026 Elbuz. All rights reserved.

  • Privacy Policy

Try Elbuz free

What do you want to automate?
Pick what you need — and Elbuz will be set up for your tasks. Click the star to mark your main goal.
🛒 Products & catalog
📤 Sales & channels
🔎 Site widgets
👥 Customers, orders, marketing
💰 Prices & availability
📦 Accounting, analytics, operations
A few details about you
The more we know, the better the system fits your case.
Create your account
14 days free, no card required.
Please check the form.