Workflow Soluiton

 View Only
  • 1.  Shoplike handling Workflow / Problems with hyperlink HTML MERGE

    Posted Apr 16, 2014 04:09 AM

    Hi all

     

    I'm trying to create an internal webshop and I don't like to use the Gridcomponents (easy to use but look & feel is limited).

    I have a collection with my Items for the shop, I go through each item and create a layout with html merge. In html merge I take the past data and add the new data.

    In html merge I tried to use a hyperlink for each item with the action "Add to basket"

    16.04.png

     

    How can I do an action with such an hyperlink? I can't get an general output path to the webform. I tried the process defined field but I'm not sure how to use it.

    In simple what I want is that it's possible to click "Add to basket" and the Item will go into a collection.

    Is something like this possible?

     

    Thanks

    Patrick



  • 2.  RE: Shoplike handling Workflow / Problems with hyperlink HTML MERGE
    Best Answer

    Posted Apr 16, 2014 08:01 AM
    Two 'easy' options... 1. Use a select list component instead. It will give you built in links and I think you can style it fairly well. 2. Build an add to cart web service separately from your workflow. Drop an iframe that is 1px by 1px and have your links call that web service and target the iframe. Write the data to a shared db for both workflows to use. You could also use that iframe to actually show the number of items in the basket I suppose, but this is more difficult then option 1 anyway.


  • 3.  RE: Shoplike handling Workflow / Problems with hyperlink HTML MERGE

    Posted Apr 16, 2014 09:50 AM

    Thanks David

     

    Wasn't aware of this selected list component, this does what I needed it for.