Announcement

Collapse
No announcement yet.

Hide from retail customers

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

    Hide from retail customers

    Hi,

    I am trying to hide the quantity and add to cart buttons from unregistered customers, as I have allow orders from unregisted customers unticked.

    I am trying to use the following from p73 of the advanced guide.

    <Actinic:NOTINB2B><!--</Actinic:NOTINB2B>
    Hide this from unregistered, but show to registered.
    <Actinic:NOTINB2B>--></Actinic:NOTINB2B>

    However it is just not working. Seems to hide from both registered and unregistered customers. Any ideas?

    Thanks,

    Steve

    #2
    Hi Steve

    I'm afraid currently this is not possible to hide the quantity and add to cart button. That code from the advance user guide was intended for text and parts of design (eg html). Instead of using that code, for v8 is it possible to use conditions to hide the quantity and add to cart button.

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      Ok, I was trying to do it that way but it didn't seem to be working. Is there an isLogggedIn condition or something like that?

      Comment


        #4
        Hi Steve

        There is a condition which is called "CartButtonRestrictedByCustomerGroup", the description says "This condition means that the 'add to cart' is hidden from certain customer groups, because the 'Enabled' checkbox (in the 'Prices' tab) has been de-selected"

        Possibly adapting that condition for retail customer == false?

        Kind Regards
        Nadeem Rasool
        SellerDeck Development

        Comment


          #5
          I did something similar using this statement

          <Actinic:NOTINB2B><div style="display: none;"></Actinic:NOTINB2B>

          and put this code after it:

          <Actinic:NOTINB2B></div></Actinic:NOTINB2B>

          this allows you to hide add to cart / price etc from non registered customers

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

          is more about it
          David Mawson
          Phoenix Trading

          http://www.sweetswholesale.co.uk - Wholesale confectionery suppliers

          Comment

          Working...
          X