Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: SQL for getting product image urls  (Read 2892 times)

Offline psusinbuts

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
SQL for getting product image urls
« on: March 16, 2017, 05:34:09 AM »
I want to make a SQL query to get image urls from a given product id, but i cant seem to find in what table are product_ids linked to resource_ids. Any help would be great.

Thanks


Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: SQL for getting product image urls
« Reply #1 on: March 16, 2017, 07:18:01 AM »
you should find table resource_map in your database. There columns object_name (products) and object_id (product_id)
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod