Announcement

Collapse
No announcement yet.

Block if code needed

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

    Block if code needed

    Hi

    I have added pinit button and google + buttons to my products but only want them to show on the separate product page other wise there are lots n lots of buttons on the pages as now...

    http://www.brilliantgems.co.uk/acata...t_Symbols.html

    I just want them to show here only

    http://www.brilliantgems.co.uk/acata...nt.html#SID=22 which they do but also on the main product section as well...

    I have tried using IsNotProductPage in the quotes but that doesn't work

    Can anyone help me here please

    Best wishes

    Bhu

    #2
    The 2 pages you refer to are using completely different Product Layouts so can have independent features.

    Just edit the layout being used for the summary pages (Regular Product Summary perhaps) and remove the button you have put there.

    In Product Details / Layout tab will tell you which layouts are in use for the summary pages. And if you're using the Product Page capability, look in that tab for the layout that's in use there.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      You can check for Single product page the blockif would be:
      Code:
      <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Product%20Page%27" >
      CODE FOR SINGLE PRODUCT PAGE
      </actinic:block>
      Peblaco

      Comment


        #4
        Hi Thanks for that. Its a bit confusing for me, but I got it sorted. Basically I had clicked the soapbox code in design split view as I wanted the buttons to be near there and that code is on both pages as well and had added the code to that page. All sorted now

        Comment

        Working...
        X