Using data from another table
Posted: Wed Apr 28, 2010 7:54 pm
Hi ya,
Ok I have searched the forum and thought I had come close a few times but to no avail. I need to retrieve data from a table and use it on the product display page. Namely I want to query Q's shipping group module table and if shipping_group_id = 3 then don't display the add to cart button.
My question is how and where do I put this query to be able to use that data on the product page.
Does this make sense, hope someone can help it's probably quite simple I'm just not that great at php yet.
Regards
Mick
Ok I have searched the forum and thought I had come close a few times but to no avail. I need to retrieve data from a table and use it on the product display page. Namely I want to query Q's shipping group module table and if shipping_group_id = 3 then don't display the add to cart button.
My question is how and where do I put this query to be able to use that data on the product page.
Does this make sense, hope someone can help it's probably quite simple I'm just not that great at php yet.
Regards
Mick