Announcement

Collapse
No announcement yet.

How can I prevent unregistered customers from entering certain sections in my store?

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

    How can I prevent unregistered customers from entering certain sections in my store?

    It is possible to have sections that only customers within certain customer groups will see online. To do this, you need to create a new section link template with a very specific format.

    Go to 'Design | Library | Layouts' and locate the 'Section Links' group.

    Right-click on any of the layouts there and select 'New Layout'. Call it 'Section Link for Registered Customers Only'.

    Now double-click on this layout to edit it, and copy and paste the following code into it, in place of any existing code:

    HTML Code:
    <Actinic:SHOWFORPRICESCHEDULE Schedules="2" HTML="<a href=<actinic:variable name="SectionPageName"/>><actinic:variable name="SectionName"/></a>"/>
    You can then select this layout within the 'Section Link Layout' field in the 'Section' tab of any section that you want to be hidden.

    You have to change the code in this template depending on which customer groups you want the section link to be visible within. The Schedules="2" value needs to be the ID of your desired customer group. You can find this from the 'Price Schedules' table in the 'ActinicCatalog.mdb' database.
    Note: This section really needs to be at the end of a list of sections, Otherwise unregistered customers will have a gap appearing where the link should be.
Working...
X