Hi thank you for answer i have also new question, i am use this sql query but i can't get correct result and so i am write own sql query and this work fine there is example:
$sql = 'SELECT *
FROM i1gmn_hikashop_product, i1gmn_hikashop_product_category, i1gmn_hikashop_price
WHERE i1gmn_hikashop_product.product_id = i1gmn_hikashop_product_category.product_id
AND i1gmn_hikashop_product.product_id = i1gmn_hikashop_price.price_product_id
AND i1gmn_hikashop_product_category.category_id = 97 ';
There is selectet product_name, product_code, product_price
Table displays like this
|Produc name|SSSSSSSS|$100|
And i want that here display like this:
Product information->|Produc name|SSSSSSSS|$100|
Product variants->|XXXXXXXXX|SSSS_111| 35 |
Product variants->|XXXXXXXXX|SSSS_111| 35 |
And hier shows with variants product and how i can select one product and his variants->(product_code)
and can you here add your sql code for this:
$sql = 'SELECT *
FROM i1gmn_hikashop_product, i1gmn_hikashop_product_category, i1gmn_hikashop_price
WHERE i1gmn_hikashop_product.product_id = i1gmn_hikashop_product_category.product_id
AND i1gmn_hikashop_product.product_id = i1gmn_hikashop_price.price_product_id
AND i1gmn_hikashop_product_category.category_id = 97 ';
I am try do but i can't it make help me please thank you.