Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Next Page
Author « Topic »
Page: of 2

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/21/2019 :  05:07:27  
Hi

I need to set up 'login level' for a set of users in the sense that to access a particular page, the users must login.

I would like to create a page and ask users to login to view the prices.

I could not understand how I can implement it on a particular page.



Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 04/21/2019 :  05:37:00  
Hi Steve

Are all those products unique to one category?

Andy

Please feel free to review / rate our software

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/21/2019 :  20:56:18  
Hi Andy,

I am organising a special category for this group. So the answer is yes.

The story is that we have tied up with an organisation. Their members get a discount on products that we offer. For them, there is separate list of these products in a specially created category.

We had to do it because discounting vary from product to product. There is no set formula. There will be probably 50 products only.

Out thoughts are to show the page and ask users to login to view offers. When the login, they can view special offers.

To login, we would like them to enter a code, if possible but not really necessary.



Regards

Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 04/22/2019 :  00:01:10  
You would need to set up that category as a static page eg specials.php

https://www.ecommercetemplates.com/seo/static-url-php.asp

Then in the code just before

<?php include "vsadmin/inc/incfunctions.php"?>

add

<?php $requiredloginlevel=1;?>

That means that only customers with a login level of 1 can see the category content

Andy

Please feel free to review / rate our software

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/24/2019 :  22:51:39  
Hi Andy,

My version is ASP and I think I am making a mistake somewhere because when I place this:
<% requiredloginlevel=1 %> on the page that needs to restrict access to price without login as below:
<% requiredloginlevel=1 %>
<!--#include file="vsadmin/db_conn_open.asp"-->
<!--#include file="vsadmin/inc/languagefile.asp"-->
<!--#include file="vsadmin/includes.asp"-->
<!--#include file="vsadmin/inc/incfunctions.asp"-->
Then the page disappears and I get the message:
The website cannot display the page
I have added allowclientregistration=true to Includes.asp.

Regards

Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 04/25/2019 :  00:07:24  
This should work fine

<!--#include file="vsadmin/db_conn_open.asp"-->
<!--#include file="vsadmin/inc/languagefile.asp"-->
<!--#include file="vsadmin/includes.asp"-->
<% requiredloginlevel=1 %>
<!--#include file="vsadmin/inc/incfunctions.asp"-->

Andy

Please feel free to review / rate our software

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/25/2019 :  00:43:00  
Hi Andy,

This worked. I must have been pasting it incorrectly. Now the problem is when I go to this page i.e. bdav.asp, it is directed to - cart.asp?mode=login&refurl=%2Fbdav.asp.
This page does not have the logo and other information for this member organisation.
Is there some way the users can come to the bdav.asp page and be asked to login to access the resources?
Regards




Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 04/25/2019 :  01:03:35  
I'll have a look at that as that should no longer be directed there.

Andy

Please feel free to review / rate our software

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/25/2019 :  02:42:36  
The website is www.sellcad.com.au and page /bdav.asp.

Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/26/2019 :  00:41:33  
Hi Andy,

Would you like me to email the source code? I can do in .txt file
This page needs to go Live on Tuesday i.e. your Monday.

Regards

Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 04/26/2019 :  00:49:55  
Hi Steve

Thanks for the offer but that's not necessary, Vince has come up with a neat solution which is in testing right now and we will let you know as soon as it's ready.

Andy

Please feel free to review / rate our software

Vince
Administrator

42470 Posts

Posted - 04/26/2019 :  01:08:59  
Hi Steve
The solution for this is now fully tested and included in the updater. If you get a new copy of the updater and copy the files
vsadmin/inc/incfunctions.asp/php
vsadmin/inc/incclientlogin.asp/php
...to your site, it should improve the flow for those trying to access restricted pages. There are also changes in the file...
css/ectcart.css
...which improve the layout.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/26/2019 :  01:19:40  
Hi Vince,

Mine is ASP website.

Is the fix for ASP as well?

Regards

Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 04/26/2019 :  01:48:21  

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/28/2019 :  00:00:38  
Hi Andy and Vince,

I applied this fix. Now, when bdav.asp page is typed, the link goes to clientlogin.asp page.
The users do not get to see the bdav.asp page.
What we trying is that users are prompted for login on the BDAV.asp page. This is because BDAV page has their logo and other information.
Now, I am unable to access the bdav.asp page. Whenever I type this, it goes to clientlogin page.
My problem is that I cannot restrict access to bdav.asp page to bdav people only.
Regards


Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 04/28/2019 :  00:23:35  
Hi Steve

That is working as intended really. What did you want to show to users not logged in?

Abdy

Please feel free to review / rate our software

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 04/28/2019 :  00:31:39  
I get it. I however wanted this.

The requirement: We have this page bdav.asp. This page need be restricted to only people from BDAV. For them, we have special prices under a newly created category bdav.

We want: that when users visit this page, they are asked to login. After login, they should stay on this page only and access their prices as explained below in this documentation:

Customer login and wholesale pricing

The customer login feature allows for wholesale pricing / tax / shipping exemption for logincustomers and page protection. This means it is possible to offer retail and wholesale pricing without the need for a second databases well as offering tax and shipping exemption to particular users. You can also restrict access to certain pages of your site. Customers can create their own account, view their order history and save billing and shipping addresses.

Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 04/28/2019 :  00:57:49  
That's really how it works, the only thing I'm not sure about is what you expect non-logged in customers to see.

Andy

Please feel free to review / rate our software

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 05/01/2019 :  22:00:03  
Hi Andy,

I needed to personalise this page with their logo i.e. once logged in, I would like them to return to bdav.asp page. They can then see prices available to them.

In present implementation, I am not sure how the users who start from bdav login will get to see their special prices.

Regards



Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377

Andy
ECT Moderator

95440 Posts

Posted - 05/02/2019 :  00:00:34  
It sounds like it really is set up how you need it. You can add a logo to the page either via the category header feature in the admin or directly to the page as it's a static page. If a customer isn't logged in they won't see the page but instead will be prompted to log in, if they then log in and have a login level of 1 they will automatically be taken back to the page where they will then see the special products and pricing.

Andy

Please feel free to review / rate our software

Steve@envisionit.com.au
Advanced Member

Australia
250 Posts

Pre-sales questions only
(More Details...)

Posted - 05/02/2019 :  00:28:29  
Hi Andy,

I am sure I am missing something.

The bdav.asp is configured with - <% requiredloginlevel=1 %>

I have advised users to use this page and not the home page.

When we use /bdav.asp page, it takes us to client login page i.e. clientlogin.asp. Ideally, I would expect the mini login window to appear on the bdav.asp page itself.

In category, the static URL is specified as bdav.asp

Is there something I else I need to add in includes.asp or settings page.



Steve Bungay
Envision IT Pty Ltd
Suite 4, Level 2, 255 Blackburn Road
MOUNT WAVERLEY VIC 3149
Tel: +61 3 9886 7240
Fax: + 61 3 9886 7377
Page: of 2 « Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000