First of all, thank you for a wonderful product, extremely powerful yet at the same time simple to use. All the best to yor team
I am facing a problem with the 'Add to cart' button, both in the product display page and the module.
1. If the user is not logged in, and presses the Add to Cart button, there is a browser error...
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept
cookies.
2. If I then press the browser Back button, there are a lot of messages...
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
No payment methods found
Please create or select an address
Login or create a new account
Please create or select an address
Please fill your payment information
There is no propblem if the user is logged in.
Ideally, I would like the Add To Cart button to be visible only to logged in users. Is there any simple modification to show.php or any other file that to achieve this>
I can use the following code
$db =& JFactory::getDBO();
$user =& JFactory::getUser();
$loggedinuser = $user->id;
but where exactly do I put the condition
if ($loggedinuser == '0') {
....
}
I am using Joomla 1.5.23 and Hikashop Starter 1.5.4
Thanks
Raminder Malik