Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Search Forums
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Eric
Forum: Tips, Tricks & Tutorials March 7th, 2012, 05:01 PM
Replies: 13
Views: 5,575
Posted By Eric
Hi You could modify the query like...

Hi

You could modify the query like this:

function dfr_get_merchants() {
global $wpdb;
$merchants = $wpdb->get_results("SELECT merchant FROM ".$wpdb->prefix."dfr_shop_products WHERE cat_id...
Forum: Tips, Tricks & Tutorials February 20th, 2012, 11:31 AM
Replies: 13
Views: 5,575
Posted By Eric
Hi You need to put the above code within the...

Hi

You need to put the above code within the <form> tags but not between the <select> tags. It should appear immediately after the <form> tag and just before the <select> tag.

Eric
Forum: Tips, Tricks & Tutorials February 20th, 2012, 10:30 AM
Replies: 13
Views: 5,575
Posted By Eric
Hi You'll need to pass those parameters along in...

Hi

You'll need to pass those parameters along in your <form>. So, between <form> and </form> you can add something like this:

<?php if (@$_GET['merchant']){ echo "<input type='hidden'...
Forum: Tips, Tricks & Tutorials March 31st, 2011, 02:17 PM
Replies: 13
Views: 5,575
Posted By Eric
OK, I figured out the issue. Try this:...

OK, I figured out the issue. Try this: <ul>
<?php
$merchants = dfr_get_merchants();
foreach ($merchants as $merchant) {
$merchant = urlencode($merchant);
?>
<li><a href="[server.url...
Forum: Tips, Tricks & Tutorials March 31st, 2011, 01:38 PM
Replies: 13
Views: 5,575
Posted By Eric
Try this: <?php $merchants =...

Try this: <?php
$merchants = dfr_get_merchants();
foreach ($merchants as $merchant) {
echo "<li><a href=\"[server.url type='fullpage' query='$merchant']\">$merchant</a></li>";
}
?>
Forum: Tips, Tricks & Tutorials March 29th, 2011, 02:21 PM
Replies: 13
Views: 5,575
Posted By Eric
Hi Kev, You could always add a couple of queries...

Hi Kev,

You could always add a couple of queries and add those to theme's functions.php file. But, there might be way more merchants and or brands than you might anticipate:

Here's one that could...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -5. The time now is 09:59 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.