Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Integrating into eCommerce platforms / showing specific search terms
Avatar
Lauren Schneider
Rookie
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2015 - 3:17 pm

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?
    Screen-Shot-2015-06-29-at-12.11.53-PM.pngImage Enlarger
  • 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?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2015 - 4:47 pm

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!

Avatar
Lauren Schneider
Rookie
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2015 - 5:40 pm

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2015 - 8:39 pm

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...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625