Announcement

Collapse
No announcement yet.

Another Question

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

    Another Question

    Hi

    I can't seem to be able to work this out and have had a look over the board and couldn't find an answer. If the basket is empty and the customer clicks on it I want them to see a message "Your Basket is empty" and then a Continue Shopping button. I have tried doing this via condtional blocks but haven't had much luck and then the basket breaks. I take it that the condtional blocks are very much like the perl if and elsif statment, as all I want to do is display 1 layout if condtion is true else display another layout.

    I'm still get use to the addtional functions in this version so it's taken me a while to get use to it all.

    Cheers

    Darren

    #2
    Blockifs run on your desktop, not online. Cart does something similar to what you want as standard, so revert it back to standard and leave it alone. Stay well clear of the cart, most problematic and requires the most knowledge to change, both of which are very good reasons for you to leave things as they are.

    Comment


      #3
      If the basket is empty and the customer clicks on it I want them to see a message "Your Basket is empty" and then a Continue Shopping button.
      i thought this was the default behaviour

      Comment


        #4
        It is but I don't want it too show all the titles which it seems to be doing at the moment. Not sure how to get around this. Also the code I'm using is from reverting back. I also don't want to revert back and have the layout that comes out of the box. I was able to do this on version 7 so don't see why it's not possible on version 8.

        Comment


          #5
          I was able to do this on version 7 so don't see why it's not possible on version 8
          It is but as lee has warned you keep away from the cart until you understand V8

          Comment


            #6
            So it is possible to do it then? I'll just have to play around with it until I crack it. I have been a web developer for 6 years working on Intershop and Mediasurface coding in Perl and ASP, so finding this product not so felxiable at times but as you said may be it's becuase I don't know it so well. Are the courses good then?

            Darren

            Comment


              #7
              Are the courses good then?
              Yes but perhaps they will not go into the depth you are looking for.

              Comment


                #8
                What's the best way to big this up then? Suppose it just takes a while to get use to it. I'm just in the process of set up an online store to sell cards but don't want to get to bug down with developement as looking to move out of this.

                Comment


                  #9
                  Suppose it just takes a while to get use to it
                  Yep - most of the regulars have been using V8 since it was released and V7 before that but V8 is VERY different and I found it takes months to get to grips with - some bits I still dont really understand still

                  Comment


                    #10
                    Yes I thought that might be the case. I can do what I need to do really easily in Perl but I can't work it out here. All I want to do is if the basket is empty display 1 layout and if it's full then display a differnet layout.

                    Comment


                      #11
                      There is currently some code within the shopping cart table that displays different content within the cart table based on whether the cart is empty or not.

                      If you look at either of the layouts in the 'Shopping Cart Table' group in the library you'll see that there are two layouts - one for the 'view cart' page and one for the checkout.

                      When the cart is empty, Actinic inserts either the 'Empty Cart Message Row' or the 'Empty Cart Message Row In Cart' layout (depending on where the shopping cart of being shown). Both these two are in the 'Shopping Cart Table Row' group. It's the XML tags within these layouts...

                      <Actinic:REMOVE TAG="EmptyCartLine">

                      </Actinic:REMOVE>

                      ... that controls whether they appear or not.

                      Comment


                        #12
                        Thanks for the info. I have this already but what I want is nothing else displayed apart from the empty basket message and a continue shopping button. What happens at the moment is that the whole table appears along with total etc and I don't want that.

                        Darren

                        Comment


                          #13
                          Sorry Darren - I understand what you mean now, but I'm afraid it definitely isn't possible to get it working as you describe.

                          Comment

                          Working...
                          X