Zen Follower
- Join Date:
- Oct 2009
- Posts:
- 444
- Plugin Contributions:
- 0
Structured Data Markup for Schema, Facebook Open Graph, Twitter...
Thanks for your reply and help flappingfish!
I am using the latest GitHub version (just downloaded and installed this morning). I do have the same USD as my default currency in Zen Cart and in the Currency (Schema/OG).
I have been working on it since my post and I've AI'd a coding solution of for line 201:
global $currencies;
if (isset($currencies) && is_object($currencies) && isset($currencies->currencies[PLUGIN_SDATA_PRICE_CURRENCY])) {
$decimal_places = $currencies->currencies[PLUGIN_SDATA_PRICE_CURRENCY]['decimal_places'];
} else {
// Fallback if the object isn't ready yet
$decimal_places = 2;
}
I've applied this about 15 minutes ago and have clicked on at least a dozen pages on my site and nothing in the Debug Log....so unless there is a large delay in it showing up in my Debug Log...I think this may have worked?!
Thanks again for your help!