SELECT *
FROM jos_session
WHERE session_id = 'k7dv5p5d60dv6pkvq1f1ukjqj2'
DELETE
FROM jos_session
WHERE ( TIME < '1728596520' )
SELECT *
FROM jos_session
WHERE session_id = 'k7dv5p5d60dv6pkvq1f1ukjqj2'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'k7dv5p5d60dv6pkvq1f1ukjqj2','1728598320','','0','1','0' )
SELECT *
FROM jos_components
WHERE parent = 0
SELECT folder AS TYPE, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
SELECT m.*, c.`option` AS component
FROM jos_menu AS m
LEFT JOIN jos_components AS c
ON m.componentid = c.id
WHERE m.published = 1
ORDER BY m.sublevel, m.parent, m.ordering
SELECT group_id,group_name,group_level
FROM `jos_vm_auth_group`
ORDER BY group_level
SELECT jos_vm_shopper_group.shopper_group_id, show_price_including_tax, `default`, shopper_group_discount
FROM `jos_vm_shopper_group`
WHERE jos_vm_shopper_group.vendor_id='1'
AND `default`='1'
SELECT `name`
FROM `jos_core_acl_aro_groups`
WHERE `id` =29
SELECT `lft`, `rgt`
FROM `jos_core_acl_aro_groups`
WHERE `name`='Public Frontend'
SELECT g1.id, g1.name, COUNT(g2.name) AS level
FROM jos_core_acl_aro_groups AS g1
INNER JOIN jos_core_acl_aro_groups AS g2
ON g1.lft BETWEEN g2.lft
AND g2.rgt
WHERE g1.lft BETWEEN 3
AND 12
GROUP BY g1.name
ORDER BY g1.lft
SELECT `lft`, `rgt`
FROM `jos_core_acl_aro_groups`
WHERE `name`='Public Backend'
SELECT g1.id, g1.name, COUNT(g2.name) AS level
FROM jos_core_acl_aro_groups AS g1
INNER JOIN jos_core_acl_aro_groups AS g2
ON g1.lft BETWEEN g2.lft
AND g2.rgt
WHERE g1.lft BETWEEN 13
AND 20
GROUP BY g1.name
ORDER BY g1.lft
SELECT vendor_id, vendor_min_pov,vendor_name,vendor_store_name,contact_email,vendor_full_image, vendor_freeshipping,
vendor_address_1,vendor_address_2, vendor_url, vendor_city, vendor_state, vendor_country, country_2_code, country_3_code,
vendor_zip, vendor_phone, vendor_store_desc, vendor_currency, vendor_currency_display_style,
vendor_accepted_currencies, vendor_address_format, vendor_date_format, state_name
FROM (`jos_vm_vendor` v, `jos_vm_country` c)
LEFT JOIN jos_vm_state s
ON (v.vendor_state=s.state_2_code
AND s.country_id=c.country_id)
WHERE `v`.`vendor_id`=1
AND (`v`.`vendor_country`=`c`.`country_2_code` OR `v`.`vendor_country`=`c`.`country_3_code`);
SELECT module_id, module_name
FROM jos_vm_module
ORDER BY module_name
SELECT module_perms
FROM jos_vm_module
WHERE module_name='shop'
SELECT id
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT COUNT(*) AS parentcnt
FROM jos_vm_product
WHERE product_parent_id>0
SELECT COUNT(DISTINCT `jos_vm_product`.`product_sku`) AS num_rows
FROM (`jos_vm_product`, `jos_vm_category`, `jos_vm_product_category_xref`,`jos_vm_shopper_group`)
LEFT JOIN `jos_vm_product_price`
ON `jos_vm_product`.`product_id` = `jos_vm_product_price`.`product_id`
WHERE `jos_vm_product_category_xref`.`product_id`=`jos_vm_product`.`product_id`
AND `jos_vm_product_category_xref`.`category_id`=`jos_vm_category`.`category_id`
AND `jos_vm_product_category_xref`.`category_id`=793
AND ((`jos_vm_product`.`product_id`=`jos_vm_product_price`.`product_id`
AND `jos_vm_shopper_group`.`shopper_group_id`=`jos_vm_product_price`.`shopper_group_id`) OR `jos_vm_product_price`.`product_id` IS NULL)
AND `jos_vm_shopper_group`.`default` = 1
AND `product_parent_id`=0
AND `product_publish`='Y'
AND `category_publish`='Y'
SELECT category_id, category_name
FROM jos_vm_category
WHERE category_id='793'
SELECT category_id, category_description
FROM jos_vm_category
WHERE category_id='793'
SELECT category_id, category_thumb_image, category_child_id,category_name
FROM jos_vm_category,jos_vm_category_xref
WHERE jos_vm_category_xref.category_parent_id='793'
AND jos_vm_category.category_id=jos_vm_category_xref.category_child_id
AND jos_vm_category.vendor_id='1'
AND jos_vm_category.category_publish='Y'
ORDER BY jos_vm_category.list_order, jos_vm_category.category_name ASC
SELECT category_id, category_name,category_parent_id, category_child_id
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category_xref.category_child_id='793'
AND jos_vm_category.category_id='793'
SELECT category_id, category_name,category_parent_id, category_child_id
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category_xref.category_child_id='734'
AND jos_vm_category.category_id='734'
SELECT id, params
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT DISTINCT `jos_vm_product`.`product_id`, `product_name`, `products_per_row`, `category_browsepage`, `category_flypage`, `jos_vm_category`.`category_id`, `product_full_image`, `product_thumb_image`, `product_s_desc`, `product_parent_id`, `product_publish`, `product_in_stock`, `product_sku`, `product_url`, `product_weight`, `product_weight_uom`, `product_length`, `product_width`, `product_height`, `product_lwh_uom`, `product_available_date`, `product_availability`, `jos_vm_product`.`mdate`, `jos_vm_product`.`cdate`
FROM (`jos_vm_product`, `jos_vm_category`, `jos_vm_product_category_xref`,`jos_vm_shopper_group`)
LEFT JOIN `jos_vm_product_price`
ON `jos_vm_product`.`product_id` = `jos_vm_product_price`.`product_id`
WHERE `jos_vm_product_category_xref`.`product_id`=`jos_vm_product`.`product_id`
AND `jos_vm_product_category_xref`.`category_id`=`jos_vm_category`.`category_id`
AND `jos_vm_product_category_xref`.`category_id`=793
AND ((`jos_vm_product`.`product_id`=`jos_vm_product_price`.`product_id`
AND `jos_vm_shopper_group`.`shopper_group_id`=`jos_vm_product_price`.`shopper_group_id`) OR `jos_vm_product_price`.`product_id` IS NULL)
AND `jos_vm_shopper_group`.`default` = 1
AND `product_parent_id`=0
AND `product_publish`='Y'
AND `category_publish`='Y'
GROUP BY `jos_vm_product`.`product_sku`
ORDER BY `jos_vm_product`.`product_name` ASC
LIMIT 0, 15
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33915'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33915'
SELECT shopper_group_id,shopper_group_discount
FROM jos_vm_shopper_group
WHERE vendor_id='1'
AND `default`='1'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33915
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33915
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33915'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33915
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33915
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33915
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33915
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33915'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33915'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33915
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33916'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33916'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33916
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33916
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33916'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33916
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33916
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33916
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33916
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33916'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33916'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33916
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33917'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33917'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33917
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33917
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33917'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33917
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33917
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33917
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33917
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33917'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33917'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33917
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33911'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33911'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33911
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33911
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33911'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33911
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33911
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33911
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33911
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33911'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33911'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33911
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33912'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33912'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33912
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33912
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33912'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33912
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33912
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33912
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33912
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33912'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33912'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33912
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33909'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33909'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33909
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33909
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33909'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33909
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33909
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33909
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33909
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33909'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33909'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33909
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33910'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33910'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33910
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33910
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33910'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33910
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33910
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33910
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33910
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33910'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33910'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33910
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33907'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33907'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33907
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33907
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33907'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33907
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33907
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33907
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33907
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33907'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33907'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33907
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33908'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33908'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33908
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33908
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33908'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33908
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33908
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33908
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33908
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33908'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33908'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33908
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33913'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33913'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33913
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33913
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33913'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33913
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33913
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33913
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33913
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33913'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33913'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33913
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33914'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33914'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33914
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33914
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33914'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33914
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33914
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33914
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33914
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33914'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33914'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33914
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33864'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33864'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33864
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33864
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33864'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33864
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33864
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33864
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33864
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33864'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33864'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33864
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33865'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33865'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33865
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33865
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33865'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33865
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33865
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33865
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33865
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33865'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33865'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33865
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33902'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33902'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33902
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33902
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33902'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33902
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33902
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33902
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33902
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33902'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33902'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33902
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33903'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33903'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33903
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33903
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33903'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33903
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33903
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33903
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33903
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33903'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33903'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33903
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 61)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT id, title, module, POSITION, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 61 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
SELECT DISTINCT a.category_id AS id, a.category_name AS name,f.category_parent_id AS pid, 'cat' AS typ
FROM jos_vm_category AS a, jos_vm_category_xref AS f
WHERE a.category_publish='Y'
AND a.category_id = f.category_child_id
ORDER BY f.category_parent_id, a.list_order
SELECT *
FROM jos_session
WHERE session_id = 'k7dv5p5d60dv6pkvq1f1ukjqj2'
DELETE
FROM jos_session
WHERE ( TIME < '1728596520' )
SELECT *
FROM jos_session
WHERE session_id = 'k7dv5p5d60dv6pkvq1f1ukjqj2'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'k7dv5p5d60dv6pkvq1f1ukjqj2','1728598320','','0','1','0' )
SELECT *
FROM jos_components
WHERE parent = 0
SELECT folder AS TYPE, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
SELECT m.*, c.`option` AS component
FROM jos_menu AS m
LEFT JOIN jos_components AS c
ON m.componentid = c.id
WHERE m.published = 1
ORDER BY m.sublevel, m.parent, m.ordering
SELECT group_id,group_name,group_level
FROM `jos_vm_auth_group`
ORDER BY group_level
SELECT jos_vm_shopper_group.shopper_group_id, show_price_including_tax, `default`, shopper_group_discount
FROM `jos_vm_shopper_group`
WHERE jos_vm_shopper_group.vendor_id='1'
AND `default`='1'
SELECT `name`
FROM `jos_core_acl_aro_groups`
WHERE `id` =29
SELECT `lft`, `rgt`
FROM `jos_core_acl_aro_groups`
WHERE `name`='Public Frontend'
SELECT g1.id, g1.name, COUNT(g2.name) AS level
FROM jos_core_acl_aro_groups AS g1
INNER JOIN jos_core_acl_aro_groups AS g2
ON g1.lft BETWEEN g2.lft
AND g2.rgt
WHERE g1.lft BETWEEN 3
AND 12
GROUP BY g1.name
ORDER BY g1.lft
SELECT `lft`, `rgt`
FROM `jos_core_acl_aro_groups`
WHERE `name`='Public Backend'
SELECT g1.id, g1.name, COUNT(g2.name) AS level
FROM jos_core_acl_aro_groups AS g1
INNER JOIN jos_core_acl_aro_groups AS g2
ON g1.lft BETWEEN g2.lft
AND g2.rgt
WHERE g1.lft BETWEEN 13
AND 20
GROUP BY g1.name
ORDER BY g1.lft
SELECT vendor_id, vendor_min_pov,vendor_name,vendor_store_name,contact_email,vendor_full_image, vendor_freeshipping,
vendor_address_1,vendor_address_2, vendor_url, vendor_city, vendor_state, vendor_country, country_2_code, country_3_code,
vendor_zip, vendor_phone, vendor_store_desc, vendor_currency, vendor_currency_display_style,
vendor_accepted_currencies, vendor_address_format, vendor_date_format, state_name
FROM (`jos_vm_vendor` v, `jos_vm_country` c)
LEFT JOIN jos_vm_state s
ON (v.vendor_state=s.state_2_code
AND s.country_id=c.country_id)
WHERE `v`.`vendor_id`=1
AND (`v`.`vendor_country`=`c`.`country_2_code` OR `v`.`vendor_country`=`c`.`country_3_code`);
SELECT module_id, module_name
FROM jos_vm_module
ORDER BY module_name
SELECT module_perms
FROM jos_vm_module
WHERE module_name='shop'
SELECT id
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT COUNT(*) AS parentcnt
FROM jos_vm_product
WHERE product_parent_id>0
SELECT COUNT(DISTINCT `jos_vm_product`.`product_sku`) AS num_rows
FROM (`jos_vm_product`, `jos_vm_category`, `jos_vm_product_category_xref`,`jos_vm_shopper_group`)
LEFT JOIN `jos_vm_product_price`
ON `jos_vm_product`.`product_id` = `jos_vm_product_price`.`product_id`
WHERE `jos_vm_product_category_xref`.`product_id`=`jos_vm_product`.`product_id`
AND `jos_vm_product_category_xref`.`category_id`=`jos_vm_category`.`category_id`
AND `jos_vm_product_category_xref`.`category_id`=793
AND ((`jos_vm_product`.`product_id`=`jos_vm_product_price`.`product_id`
AND `jos_vm_shopper_group`.`shopper_group_id`=`jos_vm_product_price`.`shopper_group_id`) OR `jos_vm_product_price`.`product_id` IS NULL)
AND `jos_vm_shopper_group`.`default` = 1
AND `product_parent_id`=0
AND `product_publish`='Y'
AND `category_publish`='Y'
SELECT category_id, category_name
FROM jos_vm_category
WHERE category_id='793'
SELECT category_id, category_description
FROM jos_vm_category
WHERE category_id='793'
SELECT category_id, category_thumb_image, category_child_id,category_name
FROM jos_vm_category,jos_vm_category_xref
WHERE jos_vm_category_xref.category_parent_id='793'
AND jos_vm_category.category_id=jos_vm_category_xref.category_child_id
AND jos_vm_category.vendor_id='1'
AND jos_vm_category.category_publish='Y'
ORDER BY jos_vm_category.list_order, jos_vm_category.category_name ASC
SELECT category_id, category_name,category_parent_id, category_child_id
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category_xref.category_child_id='793'
AND jos_vm_category.category_id='793'
SELECT category_id, category_name,category_parent_id, category_child_id
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category_xref.category_child_id='734'
AND jos_vm_category.category_id='734'
SELECT id, params
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT DISTINCT `jos_vm_product`.`product_id`, `product_name`, `products_per_row`, `category_browsepage`, `category_flypage`, `jos_vm_category`.`category_id`, `product_full_image`, `product_thumb_image`, `product_s_desc`, `product_parent_id`, `product_publish`, `product_in_stock`, `product_sku`, `product_url`, `product_weight`, `product_weight_uom`, `product_length`, `product_width`, `product_height`, `product_lwh_uom`, `product_available_date`, `product_availability`, `jos_vm_product`.`mdate`, `jos_vm_product`.`cdate`
FROM (`jos_vm_product`, `jos_vm_category`, `jos_vm_product_category_xref`,`jos_vm_shopper_group`)
LEFT JOIN `jos_vm_product_price`
ON `jos_vm_product`.`product_id` = `jos_vm_product_price`.`product_id`
WHERE `jos_vm_product_category_xref`.`product_id`=`jos_vm_product`.`product_id`
AND `jos_vm_product_category_xref`.`category_id`=`jos_vm_category`.`category_id`
AND `jos_vm_product_category_xref`.`category_id`=793
AND ((`jos_vm_product`.`product_id`=`jos_vm_product_price`.`product_id`
AND `jos_vm_shopper_group`.`shopper_group_id`=`jos_vm_product_price`.`shopper_group_id`) OR `jos_vm_product_price`.`product_id` IS NULL)
AND `jos_vm_shopper_group`.`default` = 1
AND `product_parent_id`=0
AND `product_publish`='Y'
AND `category_publish`='Y'
GROUP BY `jos_vm_product`.`product_sku`
ORDER BY `jos_vm_product`.`product_name` ASC
LIMIT 0, 15
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33915'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33915'
SELECT shopper_group_id,shopper_group_discount
FROM jos_vm_shopper_group
WHERE vendor_id='1'
AND `default`='1'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33915
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33915
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33915'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33915
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33915
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33915
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33915
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33915'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33915'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33915
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33915
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33916'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33916'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33916
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33916
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33916'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33916
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33916
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33916
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33916
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33916'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33916'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33916
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33916
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33917'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33917'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33917
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33917
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33917'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33917
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33917
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33917
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33917
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33917'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33917'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33917
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33917
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33911'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33911'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33911
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33911
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33911'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33911
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33911
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33911
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33911
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33911'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33911'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33911
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33911
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33912'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33912'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33912
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33912
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33912'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33912
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33912
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33912
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33912
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33912'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33912'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33912
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33912
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33909'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33909'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33909
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33909
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33909'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33909
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33909
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33909
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33909
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33909'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33909'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33909
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33909
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33910'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33910'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33910
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33910
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33910'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33910
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33910
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33910
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33910
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33910'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33910'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33910
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33910
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33907'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33907'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33907
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33907
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33907'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33907
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33907
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33907
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33907
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33907'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33907'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33907
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33907
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33908'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33908'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33908
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33908
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33908'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33908
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33908
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33908
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33908
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33908'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33908'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33908
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33908
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33913'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33913'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33913
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33913
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33913'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33913
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33913
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33913
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33913
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33913'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33913'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33913
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33913
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33914'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33914'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33914
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33914
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33914'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33914
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33914
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33914
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33914
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33914'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33914'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33914
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33914
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33864'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33864'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33864
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33864
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33864'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33864
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33864
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33864
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33864
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33864'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33864'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33864
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33864
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33865'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33865'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33865
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33865
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33865'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33865
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33865
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33865
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33865
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33865'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33865'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33865
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33865
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33902'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33902'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33902
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33902
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33902'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33902
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33902
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33902
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33902
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33902'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33902'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33902
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33902
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33903'
AND (start_date<='1728598320' OR start_date=0)
AND (end_date>='1728516960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33903'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33903
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33903
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='33903'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=33903
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33903
AND `file_is_image`=1
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=33903
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=1
AND `file_published`=1
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=33903
AND `file_is_image`=0
AND `file_published`=1
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id='33903'
SELECT *
FROM `jos_vm_product_files`
WHERE `file_product_id`=0
AND `file_is_image`=0
AND `file_published`=1
SELECT votes, allvotes, rating
FROM jos_vm_product_votes
WHERE product_id='33903'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33903
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33903
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 61)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT id, title, module, POSITION, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 61 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
SELECT DISTINCT a.category_id AS id, a.category_name AS name,f.category_parent_id AS pid, 'cat' AS typ
FROM jos_vm_category AS a, jos_vm_category_xref AS f
WHERE a.category_publish='Y'
AND a.category_id = f.category_child_id
ORDER BY f.category_parent_id, a.list_order