Announcement

Collapse
No announcement yet.

Buy products from home page

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

    Buy products from home page

    I've done a search on this and can't find any answers so I apologise if it's been done to death. I currently have fragments on my home brochure page with a product image and link to that product.

    What I want is to be able to have featured products on the home page and for people to be able to add to basket from there. A bit like www.ebuyer.com for example.

    How do I do this? Any ideas?
    Blank DVD
    Cloth Nappies

    #2
    Is this not possible then? Anyone got any tips?
    Blank DVD
    Cloth Nappies

    Comment


      #3
      This is covered in page 44/45 of the Advanced User Guide that you can download from the Actinic website (downloads section), but here is what it says you need to do...

      The following URL shows you the format to follow to add a product to the cart from anywhere on the Internet.
      http://your.URL/cgi-bin/ca000001.pl?...=PRODUCT&Q_7=5
      The SID parameter should be the section ID of the section where the product can be found. You can figure out the exact SID by checking the HTML source of the product page (look for <INPUT TYPE=HIDDEN NAME="SID" VALUE="xxx"> where xxx will be the section ID).
      The Q_ parameter informs the script about the product reference and the quantity. The product reference is the (CGI encoded) string prefixed by Q_ while the quantity is the parameter value (prod ref is 7, qty is 5 in the above example).
      If you are adding from outside the 'acatalog' folder, then ensure you add
      ACTINIC_REFERRER=http://your.URL/acatalog/
      onto the end of the URL.
      Obviously this works only for products where components, attributes, date or other info prompts are not used. However these more complex products can also be added to the cart on similar way but more parameters are required (check the HTML source of your product page for hidden input parameters to see what else required in these cases).
      The result of this script call may vary depending on the "Shopping mode" setting of the section where the product is located. E.g. if your product is located in a section where "Quantity on Product Page" shopping mode is used then using this link the product will be added to the cart and a bounce page will drop you back to the last used shop page, but if the shopping mode is "Quantity in Shopping Cart" then the cart will be displayed clicking on the link.
      Note that this solution is not supported by Actinic Software therefore you should use this at your own risk.

      Comment


        #4
        Yes you can from the home page.

        If you have a look at one of our sites www.ukcufflinks.co.uk you can buy the Dalek cufflinks from the home page.

        The buy button image is linked to http://www.ukcufflinks.co.uk/cgi-bin...ks.co.uk/shop/

        Where SOCUE1604 is the product reference and 36 is the Section ID of the section in which the cufflinks are found in Actinic
        Mike Julien

        www.wheesh.com

        Comment


          #5
          Thanks guys, I'll have a bash.
          Blank DVD
          Cloth Nappies

          Comment


            #6
            Does this only work with V7 ? or will it also work with V6.

            I see no mention of it in the V6 AUG.

            Peter
            Printerbase - Colour & Mono Laser Printers

            Comment


              #7
              Peter,

              Though it is not mentioned in the v6 AUG, the solution provided in the v7 AUG on page 45 works in v6 too. Since you will be adding from outside the catalog you will have to add &ACTINIC_REFERRER=http://your.URL/acatalog/ at the end of the first string.

              Kind regards,
              Bruce King
              SellerDeck

              Comment

              Working...
              X