You are here:  » PTO Search By Brand


PTO Search By Brand

Submitted by stew on Sun, 2016-02-07 12:05 in

Hi David,

Apologies to bother you again. I'm trying to display products for a particular brand, have currently tried :

[pto brand="apple"]

or

[pto search="" brand="apple"]

Is there a way to display all results from one brand on a page?

Many Thanks,

Submitted by support on Mon, 2016-02-08 09:22

Hi Stew,

You can use the search operator brand: with a normal search shortcode - have a go with:

[pto search="brand:Apple"]

Cheers,
David.
--
PriceTapestry.com

Submitted by stew on Mon, 2016-02-08 21:41

Hi David,

Many thanks - have used and the results are displaying, but at the top of the results am now seeing the following message - it appears 3 times above the product results:

Notice: Array to string conversion in /home/under2/public_html/wp-content/plugins/pto/pto_search.php on line 672
Notice: Array to string conversion in /home/under2/public_html/wp-content/plugins/pto/pto_search.php on line 672
Notice: Array to string conversion in /home/under2/public_html/wp-content/plugins/pto/pto_search.php on line 672

for the normal shortcode it works all OK without this message - any ideas?

Many Thanks,

Stew

Submitted by support on Tue, 2016-02-09 08:31

Hi Stew,

It looks to be related to the sizeFilter based on the line numbering and previous mods but I can't immediately see the cause, please could you email me current pto_search.php and I'll check that out for you...

Thanks,
David.
--
PriceTapestry.com