I may have found the solution to my product page crashing after attempting to add a global tab...
In the "TPP - Adding Global Tabs" tutorial, specifically the "Tab pre-load section", it says to add the following code:
PHP Code:
// Pre-load Warranty
$fmtShipEst = "\n" . '<div style="width:100%;">' . "\n";
$fmtShipEst .= "This is warranty information for our products. We want you to know that our products have a 100% guarantee."
$fmtShipEst .= "Thank you for shopping with us. If you have any questions, call us at 1-800-111-2222."
$fmtShipEst .= "\n" . '</div>'. "\n\n";
I've changed the above code to the following (note the two additional semicolons at the end of the third and fourth lines):
PHP Code:
// Pre-load Warranty
$fmtShipEst = "\n" . '<div style="width:100%;">' . "\n";
$fmtShipEst .= "This is warranty information for our products. We want you to know that our products have a 100% guarantee.";
$fmtShipEst .= "Thank you for shopping with us. If you have any questions, call us at 1-800-111-2222.";
$fmtShipEst .= "\n" . '</div>'. "\n\n";
My global tab seems to be working now. I'd appreciate it if someone who is PHP knowledgeable could confirm that the changes detailed above are ok, if possible. I think this may help a few people out in the future.
Thanks
Bookmarks