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.
Pages: 1
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:
if ((empty($disablewl)) && ($this->globals('khxc_user.id'))) {
if (($show_wl) && ($this->globals('khxc_user.id'))) {
Last edited by Design_Wholesale (01-12-2011 20:52:58)
Offline
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
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
Pages: 1