Announcement

Collapse
No announcement yet.

Globally untick 'enabled'

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

    Globally untick 'enabled'

    If you don't want unregistered/unloggedin customers to see a price you untick the'enabled' box for 'retail' in prices. Works well - you get a nice message displayed instead of he price.

    How can I apply this globally? Does anyone have a nice SQL I can run?

    It does not appear in a nice column on the Product table.

    Thanks
    Last edited by graphicz; 18-Aug-2016, 11:07 AM. Reason: Change Title
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    The solution is ONLYINB2B

    Thanks to Gary in support for this:

    Despite years working with Actinic/SellerDeck I have only just become aware of ONLYINB2B[ It is not in the current AUG either.

    To hide prices from unregistered non logged in customers:

    Code:
    <Actinic:NOTINB2B><p>Prices only available to registerd customers</p></Actinic:NOTINB2B>
    
    <Actinic:ONLYINB2B> [ Price Layout ] </Actinic:ONLYINB2B>
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    Comment


      #3
      Actually it seems this only works in the checkout and not on the product page.

      SO!

      Here is what seems to work:
      Code:
      <Actinic:NOTINB2B><p>Prices only available to registerd customers</p></Actinic:NOTINB2B>
      
      <Actinic:NOTINB2B><div style="display:none"></Actinic:NOTINB2B>
      
      === [ Price Layout ] and anything else to be hidden from unregistered buyers ===
      
      <Actinic:NOTINB2B></div></Actinic:NOTINB2B>
      
      Also needs to be added to...
      
      
      <Actinic:NOTINB2B><div style="display:none"></Actinic:NOTINB2B>
      
      === [ Add To Cart Button Layout ] ===
      
      <Actinic:NOTINB2B></div></Actinic:NOTINB2B>
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment


        #4
        You could try:
        Code:
        <Actinic:NOTINB2B><style>.hideifnotinb2b {display:none !important}</style><p>Prices only available to registered customers</p></Actinic:NOTINB2B>
        And add classname hideifnotinb2b to any bits of code that you want hidden from unregistered users.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X