Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

  • Index
  •  » ClickCartPro 6
  •  » A Simple Solution To Hiding Wish List Button For Non-Account Visitors

#1 01-12-2011 20:52:38

Design_Wholesale
Member
From: England!
Registered: 11-21-2008
Posts: 1104
Website

A Simple Solution To Hiding Wish List Button For Non-Account Visitors

I am not sure why the Wish List form buttons were not coded like this to start with but, bearing in mind that the Wish List is of absolutely no use whatsoever unless a customer is logged in, the following are amendments to the two usual form  statements that will simply make the Wish List buttons not display at all unless a customer is logged in.

The statements can be found in the  and  files, also in the Product Display Detail files located in the following location in the software backend:



Code:

if ((empty($disablewl)) && ($this->globals('khxc_user.id'))) {

Code:

if (($show_wl) && ($this->globals('khxc_user.id'))) {

Last edited by Design_Wholesale (01-12-2011 20:52:58)

Offline

 

#2 01-13-2011 04:26:45

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: A Simple Solution To Hiding Wish List Button For Non-Account Visitors

Design_Wholesale wrote:

... but, bearing in mind that the Wish List is of absolutely no use whatsoever unless a customer is logged in ...

That's not really true. One may add things to a wish list without being logged in. If a person decides to create an account while they are still at the site the wish list will stay with them. There are uses for it without a person being logged in.

Offline

 

#3 01-14-2011 23:57:20

Design_Wholesale
Member
From: England!
Registered: 11-21-2008
Posts: 1104
Website

Re: A Simple Solution To Hiding Wish List Button For Non-Account Visitors

Fair comment. - I was looking at it from the point of view that it cannot really be a Wish List if it is only going to be available for however long the session cookie remains active or cached in their browser.  Also, I should add that the above changes will cause logged-in users to see the (pre-filled) form.  In some ways this is good, because it allows an account holder to preview their details and pickup on any errors straight away, without having to make a detour through their account settings only after reaching the checkout (always assuming they don't fail to pick up on the error at all).

Last edited by Design_Wholesale (01-14-2011 23:58:45)

Offline

 
  • Index
  •  » ClickCartPro 6
  •  » A Simple Solution To Hiding Wish List Button For Non-Account Visitors

Board footer