Sorry, its been a few years since I have played around with my store and have forgotten most of what I had learnt...
I feel like this should be an easy one that people have done multiple times before, but I just cant get it...
I want to hide the Buy button if a customer is not logged in.
I have added;
Code: Select all
if ( isset($_SESSION['customer_id']) ) {
any help would be appreciated