daveaevion
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Customer Reviews for WooCommerce] Not receiving emailsAwesome, I’ve started receiving the emails. Great plugin, thanks all!
Forum: Plugins
In reply to: [Google Customer Reviews for WooCommerce] Not receiving emailsI think you’re correct, Nate. I do appreciate your help. The plugin is correctly displaying the pop-up, and the badge, so like you said, the ball is in Google’s park.
I’ll update back if I ever figure out what the problem is.
Forum: Plugins
In reply to: [Google Customer Reviews for WooCommerce] Not receiving emailsHi Nate. Thanks for the fast response! I have tried 3 different email accounts. One was the same as the merchant account but the others were different and none have received surveys after saying “yes” to opt in.
I have waited a few days after the estimated delivery date and never received emails. Of note I was using another plugin that customized the order numbers and that could have messed up google. I’ve since deactivated it and have tried again with different email accounts. It hasn’t been a full day yet, but my merchant account is still not even showing that any opt ins have been received.
I’ve added a link to my store in case you’re curious to see the source code. It looks correct to me. I really appreciate your assistance!
- This reply was modified 7 years, 3 months ago by daveaevion.
Forum: Hacks
In reply to: Trying to query posts by isset variablei figured it out… i needed to put the variable within the function. ok, so i guess if you are looking for a way to use links to change the query of your loop, then this code could do the trick…
<?php function filter_where($where = '') { $sort= isset($_GET['sort']) ? $_GET['sort'] : "A"; if($sort == "A") { $date = '-24 hours'; } elseif($sort == "B") { $date = '-7 days'; } elseif($sort == "C") { $date = '-30 days'; } elseif($sort == "D") { $date = '-365 days'; } else { $date = '-24 hours'; } $where .= " AND post_date > '" . date('Y-m-d H:i:s', strtotime($date)) . "'"; return $where; } add_filter('posts_where', 'filter_where'); query_posts($query_string); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
and then it continues on to what you want to do…
hope this could help someone who wants to do something similar