Announcement

Collapse
No announcement yet.

removing product marketing items from checkout pages only

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

    #16
    Tracey,

    Any of the names in the 'Select Page Type' drop down can easily be used in a condition, so you can easily stop stuff appearing almost anywhere just by using the name in there.
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    Comment


      #17
      Originally posted by dave_finlayson
      Tracey,

      Any of the names in the 'Select Page Type' drop down can easily be used in a condition, so you can easily stop stuff appearing almost anywhere just by using the name in there.
      Thanks, David

      woohoo...I'm off blockif-ing


      Gotta love them lil green marvels!

      editted to add...sorry to Robert for me being a doofus and getting it wrong LOL
      Tracey

      Comment


        #18
        This gives me a syntax error. I cant grasp wrapping a block around the code. Please explain. I am a newbie at blocking.

        Code:
        <actinic:block if="<actinic:variable name="PageType" /> != 'Checkout Page 0' AND <actinic:variable name="PageType" /> != 'Checkout Page 1' AND <actinic:variable name="PageType" /> != 'Checkout Page 2' AND <actinic:variable name="PageType" /> != 'Checkout Page 3' AND <actinic:variable name="PageType" /> != 'Receipt'">
        	<actinic:variable value="Mini Best Seller Layout" name="BestSellerItem" />
        </actinic:block>


        Code:
        <actinic:block if="<actinic:variable name="PageType" /> != 'Checkout Page 0' AND <actinic:variable name="PageType" /> != 'Checkout Page 1' AND <actinic:variable name="PageType" /> != 'Checkout Page 2' AND <actinic:variable name="PageType" /> != 'Checkout Page 3' AND <actinic:variable name="PageType" /> != 'Receipt'">
        	<!-- Also bought list begin-->
        <Actinic:REMOVE TAG="AlsoBoughtLine">
        <p>&nbsp;</p>
        <div class="titlehighlight" align="center"><span style='font-size: 22px;'>Customers who bought these items also bought the following:</div></td>
        <table width="570" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#f91e1e">   
        <Actinic:XMLTEMPLATE NAME="AlsoBoughtLine">
        <td class="cart">
        <p><actinic:variable name="shoppingcartproductdescription" /></p>
        <p><Actinic:REMOVE TAG="ImageLine"><img src="<actinic:variable name="Thumbnail" /> "width="95" height="95"</Actinic:REMOVE></p>
        <p><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<Actinic:Variable Name="ProdRef"/>&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22HiddenFields%22%20%2f%3e%20%21%3d%20%22%22">&amp;SHOP=<Actinic:Variable Name="HiddenFields"/></actinic:block>"<p class="actlarge">find out more...</a></p>
        </td>
        </Actinic:XMLTEMPLATE>
        </table>
        </Actinic:REMOVE>
        <!-- Related products list end-->
        </body>
        </html>
        </actinic:block>

        Thanks!!

        Regards,

        Bob

        www.valleydecoratingdepot.com

        Comment


          #19
          I think you may be pasting the above into a layout rather than into a blockif hence it not rendering the characters. Try:
          Code:
          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Checkout%20Page%200%27%20AND%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Checkout%20Page%201%27%20AND%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Checkout%20Page%202%27%20AND%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Checkout%20Page%203%27%20AND%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%27Receipt%27">
          	CODE
          </actinic:block>
          Peblaco

          Comment


            #20
            Hi Louise!!!

            I am having problems with the pasting thing or "wrapping the blockif"
            I dont know what youall mean.

            1. Do I do this in the layout under desing/library/layouts??
            2. I highlight all the code and right click and insert block ??
            3. Between the <actinic:block if="%%"> 2 % signes, do I paste what yo have written above??

            I have never done this b4.

            Thanks,

            Regards,
            Thanks!!

            Regards,

            Bob

            www.valleydecoratingdepot.com

            Comment


              #21
              Hi Louise!!

              I got it! Your code works like a charm:

              Thankyou very much!
              Thanks!!

              Regards,

              Bob

              www.valleydecoratingdepot.com

              Comment


                #22
                to remove my sidebar bestsellers and new products from checkout pages,
                Just edit the checkout pages in design view - or create new outer layers in DW - your basket and each checkout page can have different layouts if you want

                Comment


                  #23
                  Originally posted by RuralWeb
                  Just edit the checkout pages in design view - or create new outer layers in DW - your basket and each checkout page can have different layouts if you want
                  My dreamweaver extension is not working. See


                  http://community.actinic.com/showthread.php?t=33040

                  Thanks
                  Thanks!!

                  Regards,

                  Bob

                  www.valleydecoratingdepot.com

                  Comment


                    #24
                    My dreamweaver extension is not working
                    I was answering tracy

                    Comment

                    Working...
                    X