Announcement

Collapse
No announcement yet.

Add to Cart with Product Reference

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

    Add to Cart with Product Reference

    Is it possible to add a product to the cart without using the section ID?

    I am trying to add a product to the cart from pages outside of actinic. I looked in the advanced guide but it says I need to use the section id which I don’t have. I have over 600 products on my site so I can’t go through and get the section ID’s for all of these products.

    All I have is the product reference. So is there a way adding a product to the cart with just the product reference?

    Thanks.

    #2
    Hi there

    The section ID (or SID) can be found in the source code of the section pages.
    After generating your site (or a full site Offline Preview) , if you right-click on the product pages in the browser window, select View Source and do a CTRL+F for SID, the second hit should get you a line like this :
    <input type="hidden" name="SID" value="7" />
    You can then use this value to include in the code from the Advanced Users Guide.

    Hope this helps.
    Krithika Chandrasekar
    SellerDeck

    sigpic

    E-commerce software by SellerDeck

    Comment


      #3
      I have an add-on that lets you add to cart knowing just the Product Reference. Email me if interested.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        I have been on your site Norman, and may be interested in this add-on. Do you have anywhere an example of it working?

        Once the item has been added to cart, where is the customer taken afterwards?
        ie bounce page?

        Also, could it be used multiple times in a page, say if a customer wanted to add 5 items?
        Sam
        http://www.originaltouch.co.uk
        http://www.spcb.co.uk

        If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

        Failure is the tuition you pay for success.

        Comment


          #5
          Originally posted by NormanRouxel
          Email me if interested.

          Comment


            #6
            Didn't spot that line - must have got carried away.
            You're bright this morning!
            Sam
            http://www.originaltouch.co.uk
            http://www.spcb.co.uk

            If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

            Failure is the tuition you pay for success.

            Comment


              #7
              Sam i have Normans add on working here, Norman made some script mods, and you just have to implement it how you want, i set mine in a fragment, i actually need to re do it but i never got around to it after the V8 upgrade

              http://www.casupply.co.uk/acatalog/Q...rder_Form.html Edit to say if you want to try it, use any part numbers - spw, bt2512, mfg e.t.c you can see the part numbers on site

              D

              PS the mini cart hack does not work if you use this fix, so i found out the other day

              Comment


                #8
                Just so everybody knows - tried patch. This does not work for components, only for basic product references. So no good for sizes/colours etc.

                Unless it is rescripted slightly somewhere?
                Sam
                http://www.originaltouch.co.uk
                http://www.spcb.co.uk

                If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

                Failure is the tuition you pay for success.

                Comment


                  #9
                  What you have to do is make you components avaliable online to order, you need to have them this way so you could order them as a customer, but what you will then need to do is put a blockif statement in to hide the section from the customer.

                  i have not written the blockif yet, but i know tracey has done one before you need to surround everything, have search for hiding sections, if you tick the hide section box it will not work

                  D

                  Comment


                    #10
                    Could you describe where to put the block ifs in more detail? (I have been hiding products)
                    Sam
                    http://www.originaltouch.co.uk
                    http://www.spcb.co.uk

                    If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

                    Failure is the tuition you pay for success.

                    Comment


                      #11
                      OK you must make sure that all the little bits can be brought, im not saying it will work with componants, but it will with product choices.

                      You need the choices to be availible in another section then you need to wrap your whole layout (best sellers or what ever you main layout is) in one nice and juicy block if

                      Code:
                      <actinic:variable name="SectionName" /> !="My Section Name That Fits"
                      hope this helps
                      D

                      Comment


                        #12
                        Originally posted by Darren B
                        OK you must make sure that all the little bits can be brought, im not saying it will work with componants, but it will with product choices.

                        You need the choices to be availible in another section then you need to wrap your whole layout (best sellers or what ever you main layout is) in one nice and juicy block if

                        Code:
                        <actinic:variable name="SectionName" /> !="My Section Name Outfits"
                        hope this helps
                        D
                        blimey Darren...a blockif?
                        hehe
                        Tracey

                        Comment


                          #13
                          Learnt from the best evening by the way

                          Comment


                            #14
                            Originally posted by Darren B
                            Learnt from the best evening by the way
                            evenin'

                            Good to see you're learning at all
                            Tracey

                            Comment


                              #15
                              Hey cheeky

                              i have to take it easy these days, i keep learning way to much so i have to slooooow down

                              D

                              Comment

                              Working...
                              X