Support Forum
I noticed that other forums integrate directly into WooCommerce, and it would be great if Simple:Press did too. This would allow potential customers to read more in depth about different products on that product's page without navigating elsewhere, and a good way to start integrating them into the forum community. The functionality I'm interested in would be useful for a number of applications.
Specifically I'm interested in having a .php file called at the bottom of the WooCommerce product page template that
- a) shows a specified list (i.e. 10) of topics and their authors from a sub-forum tied to the product you're currently on, something like the "message board" area at the bottom of each IMDB page. Since this would need to be dynamic depending on which product you were on and couldn't be hard coded, maybe this could be accomplished by assigning a product tag to each product that was composed in a uniform way, like "spProduct_Name", where "Product_Name" was also the title of the sub-forum?
- b) if logged in, a button to "add new topic" within the displayed sub-forum that opens the new topic TinyMCE on the current product page
- c) if not logged in, a button to log in to the forum that opens the log in fields on the current product page, that does not redirect once logged in (if possible).
I am not a good enough coder to do this myself, but it seems like this shouldn't be too crazy to do--am I wrong? Is anyone interested in helping make something like this?
Hey Lauren,
I'm sure this is all achievable, although I have no experience with WooCommerce I do know a relatively large number of users have used Simple:Press in conjunction with WooCommerce quite successfully. As I have no experience with WooCommerce I'm not sure personally what integration would involve so we will have to wait for someone who has used it to advise!
Since it would just be a called php function from a template, the functionality I'm describing would have relatively little to do with WooCommerce per se, aside from how to determine which sub-forum to call, which could also be generated from the Wordpress page title I think?
I would think of it as functionality outside the WooCommerce sphere I guess, because having a "preview" of a certain sub-forum could be desirable for different types of Wordpress pages, such as an FAQ page with an FAQ sub=forum showing additional queries from the community.
if woocommerce has hooks in their templates where you want, would be pretty simple to hook and in get a list displayed... alternatively, as you say, you could insert the template function yourself too...
see our template tags plugin which offers multiple ways to display recent activity in a particular forum via template functions or shortcodes... of course, you need to calculate which forum (or forums) you want displayed...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)