Announcement

Collapse
No announcement yet.

Get me the image filename for any given Product Ref

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Get me the image filename for any given Product Ref

    Hi boffins, is there a nice bit of script or html or something that, given a product ref will give me back the main image filename for that product ref ?

    I have a cheeky bit of code that reads a csv of product refs, and I would like to be able to show the image of the product once read from the file.

    (This is running in sellerdeck inside a fragment).

    Any clues useful !

    #2
    There are posts from me regarding using SD's built in PHP to interrogate the Products table in the database to extract such fields. A bit of searching should locate them.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      This post gets the alt weight. Change that to the product image file name and you're there.

      https://community.sellerdeck.com/for...762#post553762
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Super I think that is just what I needed many thanks.

        Comment

        Working...
        X