Product Tags

Topic Resolution: Resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #670
    Michael GolleyMichael Golley
    Participant

    Hi, I’m trying to scrape to scrape a URL, I would like to extract 3 separate product tags.

    However, when the Scraper is run and the products are produced, only one tag is created. Can you please help.

    This is the URL i’m scraping

    https://www.vintagefootballshirts.com/teams/liverpool/116

    FYI, of my Tags is simply taken from ‘{{source_domain}}’

    I’ve added a screenshot of my setup.

    Attachments:
    You must be logged in to view attached files.
    #675
    Suman M.Suman M.
    Keymaster

    Hi, can you please let us know what data/field from the given source url you are trying to scrape into Tags field?

    Also, you can switch to ‘advanced mode’ for more options – https://www.screencast.com/t/Uuw3y19UOg

    #694
    Michael GolleyMichael Golley
    Participant

    Thanks, sorry for the delayed response.

    Each product tag is as follows –

    Tag 1 -//select[@id=”size”]

    Tag 2 – Just using the shortcode {{source_domain}}

    Tag 3 -//div[contains(concat (” “, normalize-space(@class), ” “), “floatright”)]/h1 | //div[2]/div/div[1]/div[2]/h1

    Text context (No HTML) is selected for all of them.

    Thanks

    #695
    Suman M.Suman M.
    Keymaster

    Hi, do you mean to combine multiple fields/values into a Product Tag? In that case, you’ll need to select the values into different Custom Variable fields and then merge them together. Please do these:

    – select the value into a Custom Variable field for each tag – https://www.screencast.com/t/mvroPXzTKDf
    – select Product tag field and select a tag field for it, and then click on Transform button – https://www.screencast.com/t/mJeO6Rfij
    – go to Shortcodes tab and combine the tag fields that you have created – https://www.screencast.com/t/B405mXoe
    (all your selected values will be available as Tags)

    #701
    Michael GolleyMichael Golley
    Participant

    Worked perfectly!

    Thanks

    #702
    Suman M.Suman M.
    Keymaster

    Good to know that it’s working for you. Cheers!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register