I am currently working on a wordpress plugin that will display products via widget or short code. it basically works so far for the one product (that's as far as I've got). The one thing that doesn't work is the link to the products page. Now I noticed that there is a key named products_url in the products_description table, however this is empty?? so I then tried to use rep_href_link only to find out that it only gives the bit after the post address.
My question is, how do I get the post name the store is on to complete the url, or how do I get the store to fill in the products_url key for me so I can use that?