Hi,
I am trying to edit the function zen_get_products_stock in functions_lookups.php to check the products url before determining the stock. I think I have it mostly done. The thing I need help with is looking up the products url. The function provides $products_id and what I need is a line of code to go inside the function which will use the $products_id to return the URL stored for the product and put it into the variable $producturl. The URL I am referring to is the one entered when creating the product. Its probably very simple I just don't know php but I know other programming languages so I've been able to do most stuff I need to.
It would be brilliantif someone could give me the line of code I need. Been trying to work it out all night.
Thanks.
All the best.


if someone could give me the line of code I need. Been trying to work it out all night.

