# WordPress E-Junkie Plugin

**URL:** <https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974>\
**Category:** E-junkie Discussions\
**Tags:** plugin, com, product, page, settings, buttons, hosted, solution, added, wordpress\
**Created:** [July 20, 2010, 10:05pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974 "2010-07-20T22:05:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![wp\_ejunkie](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/wp_ejunkie/32/2069_2.png) [@wp\_ejunkie](https://www.e-junkie.com/forum/u/wp_ejunkie)\
**Post date:** [July 20, 2010, 10:05pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/1 "2010-07-20T22:05:07Z")

</div>

Tired of adding lots of HTML button code to WordPress posts and pages?  
  
  
  
Introducing WP E-Junkie, a quick and easy to use solution for selling product downloads using the WP E-Junkie Shopping Cart system and WordPress. All you need is an E-Junkie account, your E-junkie client id and a self hosted WordPress website.  
  
  
  
Buttons are easily added to a post/page by pasting a small shortcode containing the product id any of your products hosted on [E-Junkie.com](http://E-Junkie.com).  
  
  
  
  
  
The plugin is totally free and custom buttons can be added via the plugin settings page!  
  
  
  
  
  
Download here:  
  
[http://wpejunkie.com/](http://wpejunkie.com/)

---

<div class="post-metadata">

**Author:** ![E-junkie\_Guru](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/e-junkie_guru/32/123_2.png) [@E-junkie\_Guru](https://www.e-junkie.com/forum/u/E-junkie_Guru)\
**Post date:** [July 21, 2010, 6:17pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/2 "2010-07-21T18:17:58Z")

</div>

Wow, that’s fantastic! Many thanks for this; our Founder/Lead Developer is mighty impressed! :^D

---

<div class="post-metadata">

**Author:** ![jupeto](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/jupeto/32/2116_2.png) [@jupeto](https://www.e-junkie.com/forum/u/jupeto)\
**Post date:** [July 31, 2010, 10:21am UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/3 "2010-07-31T10:21:11Z")

</div>

Is it possible to create a buy now button shortcode? like the add to cart and view cart button shortcodes

---

<div class="post-metadata">

**Author:** ![E-junkie\_Guru](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/e-junkie_guru/32/123_2.png) [@E-junkie\_Guru](https://www.e-junkie.com/forum/u/E-junkie_Guru)\
**Post date:** [August 1, 2010, 5:46pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/4 "2010-08-01T17:46:18Z")

</div>

We did not create this plugin, so you would need to contact the plugin developer with that feature request.  
  
  
  
I suppose you could use the plugin’s "E-junkie HTML" option which allows you to paste-in what HTML the [EJUNKIE\_ADD2CART] short tag should insert for a given item, rather than letting it generate cart-button code on-the-fly based on your client ID and the item ID. Normally, this custom HTML option would be used for products with Variants/Variations (since the plugin cannot generate button code including the menus/fields for those options), but it might work with Buy Now button code as well.  
  
  
  
However, I can say that pasting-in Buy Now button code that you obtain from Seller Admin is generally not a problem for WordPress as-is. This new plugin solves a particular problem affecting our cart-based button codes (not Buy Now codes) where WordPress can sometimes mangle the JavaScript parts of the code that are required make the cart work, if special care is not taken to avoid this. Since our Buy Now buttons bypass the cart entirely, they don’t need to use any JavaScript, so WordPress doesn’t normally cause a problem with the button code.

---

<div class="post-metadata">

**Author:** ![wp\_ejunkie](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/wp_ejunkie/32/2069_2.png) [@wp\_ejunkie](https://www.e-junkie.com/forum/u/wp_ejunkie)\
**Post date:** [August 4, 2010, 7:47pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/5 "2010-08-04T19:47:28Z")

</div>

Hi Jupeto,  
  
  
  
As Tyson stated above, you can use the [EJUNKIE\_ADD2CART] short tag to display a "Buy Now" if you like.  
  
  
  
Feel free to contact me with any questions here:  
  
[http://wpejunkie.com/contact/](http://wpejunkie.com/contact/)  
  
  
  
Thanks!  
  
  
  
Seth

---

<div class="post-metadata">

**Author:** ![gavseim](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/gavseim/32/1652_2.png) [@gavseim](https://www.e-junkie.com/forum/u/gavseim)\
**Post date:** [November 1, 2011, 3:38pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/6 "2011-11-01T15:38:48Z")

</div>

This has been a great plugin. Though it has been causing some issues with the admin panel lately, making dropdowns not work.  
  
  
  
It would be nice if EJ would officially offer a plugin, or at least clean up their insert codes for WP. The official codes used in WP get easily broken if you do the slightest thing wrong in the page editor. I would venture to guess a good portion of their users use EJ on WP sites. Isn’t time to clean things up a bit.  
  
  
  
G

---

<div class="post-metadata">

**Author:** ![E-junkie\_Guru](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/e-junkie_guru/32/123_2.png) [@E-junkie\_Guru](https://www.e-junkie.com/forum/u/E-junkie_Guru)\
**Post date:** [November 1, 2011, 7:44pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/7 "2011-11-01T19:44:00Z")

</div>

By "issues with the admin panel", do you mean Seller Admin? The WP E-junkie plugin does not interact with Seller Admin at all, so there’s no possible way that plugin could be affecting the behavior of Seller Admin.  
  
  
  
If the menus in Seller Admin itself are misbehaving, that suggests there was a connection glitch of some sort when your browser loaded the Flash for the Admin panel; usually that sort of thing can be resolved by clicking the "seller admin" link at the top of our site to reload a fresh copy of the Flash. This is one of the reasons we’ve been building a DHTML-based replacement for the current Seller Admin.  
  
  
  
If the cart button menus in your page are misbehaving, that suggests some malformed HTML in the button code or, for items using Variants, possibly a mismatch between values in the menus vs. those in your Variants configuration. The WP E-junkie plugin provides a way to paste-in button code that you’ve copied from Seller Admin, rather than using the plugin’s shortcodes for basic, no-menu Cart buttons.

---

<div class="post-metadata">

**Author:** ![gavseim](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/gavseim/32/1652_2.png) [@gavseim](https://www.e-junkie.com/forum/u/gavseim)\
**Post date:** [November 1, 2011, 8:02pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/8 "2011-11-01T20:02:31Z")

</div>

Maybe I should have been more clear. The default code that you copy and paste is fussy when used in WP. It’s easy to screw up the code be simply moving a line break or paragraph near it.  
  
  
  
The alternate is the plugin for WP with simple short codes. This is clean and works really well, but it causes issues in the "WordPress admin panel". There seems to be an incompatibility. While the plugin does correctly insert the cart buttons, it breaks things with the "WP Admin" menus.  
  
  
  
I’m not sure if EJ makes the plugin or someone else. I’d just like a better solution. Either a plugin that’s updated or a cleaner copy and paste code that plays nicer with WP.

---

<div class="post-metadata">

**Author:** ![E-junkie\_Guru](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/e-junkie_guru/32/123_2.png) [@E-junkie\_Guru](https://www.e-junkie.com/forum/u/E-junkie_Guru)\
**Post date:** [November 2, 2011, 7:26pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/9 "2011-11-02T19:26:43Z")

</div>

The WP E-junkie plugin was independently developed by a client of ours who saw a need for it. We would suggest contacting him with your concerns:  
  
[http://wpejunkie.com/contact/](http://wpejunkie.com/contact/)  
  
  
  
Our button code can be a bit finicky about proper nesting of HTML tags, regardless of WordPress, and especially so with the FORM-based button code used for Variants/Variations menus – e.g., as explained here:  
  
[http://www.e-junkie.com/bb/topic/2497#post12857](http://www.e-junkie.com/bb/topic/2497#post12857)  
  
  
  
It helps to think of the start and end tags for various elements in HTML as defining the edges of a container; you can put containers inside or next to other containers, but one container cannot overlap or intersect with another container. This page goes into more detail:  
  
[http://www.december.com/html/tutor/containers.html](http://www.december.com/html/tutor/containers.html)  
  
  
  
The View Source Chart extension for Firefox (also developed by a fellow E-junkie client, as it happens :^) provides a handy way of visualizing this for the source code of any actual page:  
  
[https://addons.mozilla.org/en-US/firefox/addon/view-source-chart/](https://addons.mozilla.org/en-US/firefox/addon/view-source-chart/)

---

<div class="post-metadata">

**Author:** ![wp\_ejunkie](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/wp_ejunkie/32/2069_2.png) [@wp\_ejunkie](https://www.e-junkie.com/forum/u/wp_ejunkie)\
**Post date:** [November 2, 2011, 7:35pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/10 "2011-11-02T19:35:48Z")

</div>

I think the WP admin text editor was updated in WP 3.2. Therefore the WP Ejunkie plugin needs to be updated to use the new text editor function. I will try to update it when I have some time. But I might end up having to fix it again when WP 3.3 launches, because they are changing the editor again.

---

<div class="post-metadata">

**Author:** ![luisartedelamemoria](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/luisartedelamemoria/32/1917_2.png) [@luisartedelamemoria](https://www.e-junkie.com/forum/u/luisartedelamemoria)\
**Post date:** [December 7, 2011, 2:51am UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/11 "2011-12-07T02:51:38Z")

</div>

Hi,  
  
  
  
Is it possible to customize with this fantastic Wordpress plugin all the text labels like "country1" and "state1", for instance?  
  
If so, how? From the wpejunkie\_functions.php file?, from the "Optional e-Junkie HTML" field when editing an e-Junkie Shopping Cart Item?  
  
  
  
Thank you. Regards,  
  
Luis

---

<div class="post-metadata">

**Author:** ![E-junkie\_Guru](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/e-junkie_guru/32/123_2.png) [@E-junkie\_Guru](https://www.e-junkie.com/forum/u/E-junkie_Guru)\
**Post date:** [December 7, 2011, 3:36pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/12 "2011-12-07T15:36:31Z")

</div>

This help page explains how to use our cart customization code:  
  
[http://www.e-junkie.com/ej/help.custom-cart.htm](http://www.e-junkie.com/ej/help.custom-cart.htm)  
  
  
  
If you’re using the WP E-junkie plugin, that already adds the script portions of our View Cart code to every page automatically, so you can just add cart customization code to each page manually (e.g., perhaps in a common footer area), where it must be enclosed in SCRIPT tags like so:  
  
  
  
\<script language="javascript" type="text/javascript"\>  
  
function EJEJC\_config() {  
  
EJEJC\_POSTCALL=true;  
  
}  
  
function EJEJC\_shown() {  
  
jQuery("#country1").attr("innerHTML", "Ship to Country");  
  
jQuery("#state1").attr("innerHTML", "ZIP/Postal Code");  
  
jQuery("#state2").attr("innerHTML", "Update Cart after entering");  
  
jQuery("#dscnt\_cd").attr("innerHTML", "Discount Code");  
  
jQuery("#discount2").attr("innerHTML", "Update Cart after entering");  
  
jQuery("#btnContShop").attr("value", "Continue Shopping");  
  
jQuery("#btnUpdtCart").attr("value", "Update Cart");  
  
jQuery("#EJEJC\_closeWindowButton").attr("innerHTML", "\<b\>Close\</b\>");  
  
}  
  
\</script\>

---

<div class="post-metadata">

**Author:** ![luisartedelamemoria](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/luisartedelamemoria/32/1917_2.png) [@luisartedelamemoria](https://www.e-junkie.com/forum/u/luisartedelamemoria)\
**Post date:** [December 7, 2011, 11:24pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/13 "2011-12-07T23:24:36Z")

</div>

Hello:  
  
  
  
Thank you for the response.  
  
  
  
Actually, the issue is solved without using this plugin by replacing ‘jQuery’ by ''ejejc\_jQuery.  
  
  
  
I haven’t tried the same workaround with the wp-ejunkie plugin although I’m sure the issue can be solved that way too.  
  
  
  
You can see the other thread explaining this issue in:  
  
[http://www.e-junkie.com/bb/topic/3359/pg/0#post](http://www.e-junkie.com/bb/topic/3359/pg/0#post)  
  
  
  
Thank you again E-junkieGuru for the tip! Best regards,  
  
Luis Garcia

---

<div class="post-metadata">

**Author:** ![simplifun](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/simplifun/32/2090_2.png) [@simplifun](https://www.e-junkie.com/forum/u/simplifun)\
**Post date:** [January 16, 2013, 1:58pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/14 "2013-01-16T13:58:16Z")

</div>

It doesn’t look like the plugin is being maintained. It would be great if ejunkie picked up the code and maintained it. Wordpress self-hosted has a big following and you’re missing out on some business.

---

<div class="post-metadata">

**Author:** ![wp\_ejunkie](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/wp_ejunkie/32/2069_2.png) [@wp\_ejunkie](https://www.e-junkie.com/forum/u/wp_ejunkie)\
**Post date:** [January 16, 2013, 2:10pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/15 "2013-01-16T14:10:29Z")

</div>

Hi everyone,  
  
  
  
It became too time consuming to maintain this plugin for free. I would be happy to turn the code over to the E-Junkie Crew. Just let me know if that is something you guys would like to do? Or if someone would like to make a considerable donation, I would be happy to spend some time on it and get it working again.  
  
  
  
Seth Shoultes

---

<div class="post-metadata">

**Author:** ![simplifun](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/simplifun/32/2090_2.png) [@simplifun](https://www.e-junkie.com/forum/u/simplifun)\
**Post date:** [January 16, 2013, 6:57pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/16 "2013-01-16T18:57:04Z")

</div>

Thank you Seth for what you have done!!! Much appreciated. E-junkie, will you pick it up and continue the plugin?

---

<div class="post-metadata">

**Author:** ![E-junkie\_Guru](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/e-junkie_guru/32/123_2.png) [@E-junkie\_Guru](https://www.e-junkie.com/forum/u/E-junkie_Guru)\
**Post date:** [January 17, 2013, 2:50pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/17 "2013-01-17T14:50:08Z")

</div>

At present, all our spare development resources are dedicated to the new Admin project, but perhaps once we complete that, we might be able to look into updating the WP E-junkie plugin.  
  
  
  
Seth, might you be willing to hand off the plugin to another developer to update and maintain going forward? If so, I’ve got some candidates in mind to recommend.

---

<div class="post-metadata">

**Author:** ![nolberto](https://www.e-junkie.com/forum/letter_avatar/nolberto/32/6_449c533f586939b6e5f246632a46421f.png) [@nolberto](https://www.e-junkie.com/forum/u/nolberto)\
**Post date:** [March 16, 2014, 9:07pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/18 "2014-03-16T21:07:17Z")

</div>

This plugin looks good, but has two years is not updated.   
  
  
  
It would be fantastic to e-junkie update this plugin or create your own, there are plans for this.?

---

<div class="post-metadata">

**Author:** ![E-junkie\_Guru](https://www.e-junkie.com/forum/user_avatar/www.e-junkie.com/e-junkie_guru/32/123_2.png) [@E-junkie\_Guru](https://www.e-junkie.com/forum/u/E-junkie_Guru)\
**Post date:** [March 17, 2014, 12:52pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/19 "2014-03-17T12:52:49Z")

</div>

We might consider adopting the WP E-junkie plugin or writing our own once we finish other major internal development projects for E-junkie itself. That said, adding E-junkie buttons to a WordPress site is extremely simple and typically trouble-free (especially if you use the Raw HTML plugin) – just copy the ready-made button codes we provide and paste them into your WP pages/posts wherever you want the buttons to appear. This help page provides some tips you may find useful, including some tips for WP in particular:  
  
[http://www.e-junkie.com/ej/help.site-blog.htm](http://www.e-junkie.com/ej/help.site-blog.htm)

---

<div class="post-metadata">

**Author:** ![nolberto](https://www.e-junkie.com/forum/letter_avatar/nolberto/32/6_449c533f586939b6e5f246632a46421f.png) [@nolberto](https://www.e-junkie.com/forum/u/nolberto)\
**Post date:** [March 17, 2014, 1:08pm UTC](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974/20 "2014-03-17T13:08:51Z")

</div>

Thank you for your prompt response.   
  
  
  
True, it is easy to put code in wordpress e-junkie.   
  
  
  
Hopefully then they can pick wp e-junkie or design a new one, it would be great something like wp e-commerce or WooCommerce, that can make even more dynamic service that gives excellent e-junkie.   
  
  
  
Soon.

[Next page](https://www.e-junkie.com/forum/t/wordpress-e-junkie-plugin/7974.md?page=2)
