Ok, I purchased a website template and am attempting to modify the code myself since the support is a joke. I have a basic understanding of html and php. I have found the code which makes the button appear on the page and have tried all night to edit it based on research from various websites. The code is as follows.
if($listtype==3){
?>
I want it to access the database and only show the button if the ship_stat field has a value of “paid”. Any help would be much appreciated.