You are here:  » Is it possible to export ONLY products.php results into Wordpress

Support Forum



Is it possible to export ONLY products.php results into Wordpress

Submitted by GemViper on Tue, 2010-04-27 09:57 in

I've poured over the forums and found the mods to allow "searchExternal" and "pricesExternal" and "featuredExternal" but what I'd really like to do is simply enter a keyword into a wordpress post and have the actual product result page appear (ideally with some related products underneath but not necessary). This would NOT be a search, I would be telling the database exactly what to return, so no search result pages are needed. Visitors would go straight to the stores as they do now from products.php pages.

I have Price Tapestry running will standalone (with separate database) but the number of features built into wordpress (ie:rss, permalinks, comment system, plugins etc) are also required and it would be hard to reproduce them all otherwise.

Options:

#1 - remove the calls for headers and footers and menus from products.php and call the resulting template free page via iframe into desired posts. Not ideal.

#2 - write a separate page of code to query the database and pull results onto a page outside this aplication. Better but not ideal.

#3 ??

Thanks in advance for any guidance.

Submitted by support on Tue, 2010-04-27 10:19

Hi there,

This is what the full external.php will do for you!

If you could please implement pricesExternal.php so that you are just getting a prices table related to your WordPress post content (so you will be providing the exact product name within $_GET["q"] in your calling code), and then email me a copy of the calling code that you have derived, and then I'll send you the full external.php together with the calling code required for that version...

Cheers,
David.