Announcement

Collapse
No announcement yet.

How to use product form instead of main form?

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

    How to use product form instead of main form?

    Hi All,
    I have a site that has single product per page. And push button grid on product pages.

    I want it to use the product form on the product pages so I can add another form below the product form but it appears to default to the main form which wraps around the bulk of the main content.

    Is there a way I can overrride this and get the product form to be used on my single product pages?

    Help as ever appreciated,
    Bangers
    Boxhedge New Media Design
    Design and development solutions for SME's.
    Tel: 0118 966 2786
    Examples of work can be found at http://www.boxhedge.com

    #2
    Hi Lee,

    It should use the form from the product layout unless you have set it to use a 'single add to cart button per page', then it will use the main form set around the bulk area. If it is using the outer form then you can put a closing form tag on your product layout and start your new form. Don't include a closing form tag as it will use the one in the outer layout. I hope that makes sense.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Hi Tracey,
      Thanks for the reply.
      I'm not using single cart button (I have selected "Quantity in Shopping Cart").
      I am using a push button grid (don't know if this makes a diffrence as it is the first time using one).

      I get your work around (good lateral thinking). I'll do it if nessersary though I am intrigued as to why the product form isn't being used, maybe someone can shed some light on it.

      Thanks again,
      Lee
      Boxhedge New Media Design
      Design and development solutions for SME's.
      Tel: 0118 966 2786
      Examples of work can be found at http://www.boxhedge.com

      Comment


        #4
        Just checked and it's the 'Quantity in Shopping Cart' mode that's forcing it to use the main form.
        ********************
        Tracey
        SellerDeck

        Comment


          #5
          Thanks Tracey, seems and odd one.
          I'll use the hack you thought about this time but can you think of a way of forcing product form to be used, just in case I ever need to use it?
          Regards
          Lee
          Boxhedge New Media Design
          Design and development solutions for SME's.
          Tel: 0118 966 2786
          Examples of work can be found at http://www.boxhedge.com

          Comment


            #6
            I'll have to check why it does that with development and if there's a way to force the product form. I'll post back as soon as I get an answer.
            ********************
            Tracey
            SellerDeck

            Comment


              #7
              thanks tracey appreciate your help.
              regards
              lee
              Boxhedge New Media Design
              Design and development solutions for SME's.
              Tel: 0118 966 2786
              Examples of work can be found at http://www.boxhedge.com

              Comment


                #8
                Hi Lee,

                To force the product form to be used you need to edit the 'IsProductFormUsed' condition in 'Design | Library | Conditions | Products group', and replace it by the following code:

                Code:
                ((<actinic:variable name="ShoppingModeQuantityPlacement" /> == 1) OR 
                (<actinic:variable name="ShoppingModeQuantityPlacement" /> == 3)) 
                AND (<actinic:variable name="SingleAddToCartButtonIsUsed" /> == FALSE)
                This means that the product form is used for Quantity in Shopping Cart too.
                ********************
                Tracey
                SellerDeck

                Comment

                Working...
                X