You must be logged in to post


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

How do you setup E-Junkie Cart for market 3

UserPost

8:59 am
January 9, 2009


gpo1

Member

posts 26

1

I've got market 3 theme using paypal cart,but I want to add E-Junkie Cart ,so that it takes care of download file store sells etc.

How is it done?

4:24 pm
January 9, 2009


Market Admin

Admin

posts 4756

2

Post edited 5:40 pm – January 14, 2010 by Market Admin
Post edited 2:47 pm – September 17, 2010 by Market Admin
Post edited 2:37 pm – March 7, 2011 by Market Admin


E-junkie is a great system for handling digital products.  It's only $5 a month, and you can have a bunch of different product listings.

Here's a quick overview of how to convert Market theme to work with e-junkie digital downloads…

*** A word of Caution ***

By doing the following changes to convert your store to offer digital downloads (fulfilled by e-junkie),  your Market Theme store will no longer work with regular products.  We are customizing the code to integrate with e-junkie transaction processing, rather than the typical Paypal checkout configuration.

*********************

Ok, first you'll create listings for your products through the Market theme product manager in your WordPress site.

For each of the listings you create, write down the product post ID generated for each.  (You can see the post ID if you hover over the listing in the "Manage Posts" area of the WP administration area.

Next, you'll need to enter the products into your e-junkie account.   (You'll also want to setup the rest of the administration settings including profile, thank you page information, your Paypal ID, etc.)

For each product you enter in e-junkie, Under the "Item Number" field of the Product Configuration page, enter the WordPress product post ID that you wrote down.

Make sure you save all your product entries.

Next, you'll need to do some modifications to the Market Theme product display page.

The following code changes are for Market Theme versions PRIOR to 3.5.  For the code changes to versions AFTER Market Theme ver 3.5, scroll down toward the end of this post.

==============   For Market Theme Versions PRIOR to 3.5   ============

Open up the file "single.php" for editing (this is one of the Market theme files).  (You can edit it through the WordPress administration area using the theme editor.)

Search for the following line:

<input type="image" src="<?php bloginfo('template_directory'); ?>/imgs/bn.gif" class="pp" border="0" name="submit" alt="Make payments with PayPal – it's fast, free and secure!">

Replace this code with the following "buy now" code to disable the current code and replace with an e-junkie link:

<?php /*<input type="image" src="<?php bloginfo('template_directory'); ?>/imgs/bn.gif" class="pp" border="0" name="submit" alt="Make payments with PayPal – it's fast, free and secure!">*/ ?>

<a href="https://www.e-junkie.com/ecom/gb.php?i=<?php the_ID(); ?>&c=single&cl=XXXXX" target="ejejcsingle"><img src="http://www.e-junkie.com/ej/x-click-butcc.gif" border="0" alt="Buy Now"/></a>

In the line above, find where it says "cl=XXXXX".  Replace the "XXXXX" with your e-junkie client ID.

(You can find your e-junkie client ID number by clicking the "View Account Summary" link within your e-junkie administration area.)

Ok, the final step is to disable the regular "add to cart" function from displaying.

A couple of lines beneath where you pasted the code above, you will find the following line:

<!-- Start Vcart Code -->

Immediately AFTER this, enter the code "<?php /*" so that your result looks like this:

<!-- Start Vcart Code --><?php /*

Next, scroll down until you find the line:

<!-- End Vcart Code -->

Immediately AFTER this, enter the code "*/ ?>" so that your results looks like this:

<!-- End Vcart Code -->*/ ?>

Save the file, and test it out.

==============   For Market Theme Versions AFTER 3.5   ============

Open up the file "single.php" for editing (this is one of the Market theme files).  (You can edit it through the WordPress administration area using the theme editor.)

Search for the following lines:

<?php if($mkt_outstock != 1) { ?>
      <input type="image" src="<?php bloginfo('template_directory'); ?>/imgs/bn.gif" class="pp" border="0" name="submit" alt="<?php echo mkt_THEME_SINGLE_BUTTON_BUYNOW; ?>">
<?php } else { ?>

Replace this code with the following code to both disable the current code and replace it with an e-junkie link:

<?php if($mkt_outstock != 1) { ?>
<!--      <input type="image" src="<?php bloginfo('template_directory'); ?>/imgs/bn.gif" class="pp" border="0" name="submit" alt="<?php echo mkt_THEME_SINGLE_BUTTON_BUYNOW; ?>"> -->
<a href="https://www.e-junkie.com/ecom/gb.php?i=<?php the_ID(); ?>&c=single&cl=XXXXX" target="ejejcsingle"><img src="http://www.e-junkie.com/ej/x-click-butcc.gif" border="0" alt="Buy Now"/></a>
<?php } else { ?>

In the line above, find where it says "cl=XXXXX".  Replace the "XXXXX" with your e-junkie client ID.

(You can find your e-junkie client ID number by clicking the "View Account Summary" link within your e-junkie administration area.)

Save the file.

Lastly, you'll need to go into the Market Theme options settings area, and change your Store's Checkout Method from Shopping cart to the Single Click Buy-now method.

Click the "Activate Changes" button at the bottom to save.

Now test it out.

======================================

Again as stated in the beginning of this post, for each product you create, make sure that you enter your WordPress product post ID into the "item number" field of the product configuration area.

You'll also have to upload your digital product to e-junkie, but you probably already figured that out when you setup your e-junkie product settings.

I think that should do it.

10:00 am
January 14, 2009


gpo1

Member

posts 26

3

So what about fashion items can e-junkie still work,whereby buyers can pay by creditcards..

But e-junk site states " E-junkie provides shopping cart and buy now buttons to let you sell downloads and tangible goods on your website,eBayMySpaceGoogle BaseCraigsList and other websites using PayPal StandardPayPal ProGoogle Checkout,Authorize.NetTrialPayClickBank and 2CheckOut."

Therefore, these feature can be applied when adapt it to market3 ?

4:51 pm
January 14, 2009


Market Admin

Admin

posts 4756

4

I'm confused…

Do you want to sell digital products or tangible goods?    (Or is it that you want to sell both at the same time?)

If you want to sell tangible goods, you should be fine with the standard install, just going through Paypal.  There isn't really a need for e-junkie for tangible goods. 

Now if you wanted to sell digital download products, that's where e-junkie makes sense to use. 

You can setup the Market theme as it is to direct users to a download area by just specifying the "return URL" link for Paypal to send the visitor once purchase is completed — however I don't generally recommend that, because it's not really a secure method for keeping non-payers out of your download area.  Specifically, if someone shares the download page link to some of their friends, they could go directly to that page without paying.  That's where e-junkie can come in handy.  You can just setup your e-junkie account to provide your users the downloaded file.

If your goal is to see physical goods and digital goods at the same time with the Market theme, I'm not immediately sure if you can easily do it.  The reason, is because the theme is coded primarily to work using its own included shopping cart system.  In order to use e-junkie, you have to change the code so that it DOES NOT use the internal Market theme shopping cart system.  And once you do that, you change the functionality.

Basically, with the method I outlined above — you can have one or the other, but not both at the same time.

On a more positive note however, I'll talk to our coders about it and see if we can figure out a way to do both.  I'll at least try to figure out a way to use an alternative (like e-junkie) without having to change coding as much.  Something that's easier to set through a "settings" area or something.

4:35 am
January 16, 2009


gpo1

Member

posts 26

5

Thanks for your reply .. I look forward to it?

3:46 pm
January 26, 2009


Market Admin

Admin

posts 4756

6

Another potential "quick" option for you, is to disable the "buy now" and "add to cart" buttons in your single.php file, and then just place the e-junkie "buy now" link within your product description.  It's not the most ideal solution, but is a quick and easy alternative.

2:38 pm
September 15, 2009


daria369

Member

posts 9

7

Hi,

Is there anything new on this topic?

I also have products and ebooks waiting to be added to my store and really don't want to disable the integrated paypal buttons since they work fine.

So, how can I use e-junkie for selling ebooks from the market theme website??

Before purchasing this theme I'm pretty sure there was this option of selling products as well as digital products with market theme mentioned somewhere.

Can anyone help?

Thanks,

Daria

Daria's Arts Boutiquenhttp://arts-boutique.com

3:13 pm
September 15, 2009


Market Admin

Admin

posts 4756

8

For right now, Market is pretty much setup to be either/or, unless you're ok selling a digital product through the regular means, and then fulfilling it manually when you review your Paypal orders.

Your dilema however gives us some ideas about how to give Market the ability to handle both types of products at the same time.

We'll think about some ways it could be done, and try to work them into a future release.

4:08 pm
September 15, 2009


daria369

Member

posts 9

9

That would be greatly appreciated, thank you!! :)

Daria's Arts Boutiquenhttp://arts-boutique.com

10:35 pm
September 22, 2009


ptocknell

Member

posts 38

10

You can sell physical goods and digital goods through e-junkie and use paypal for the processing. 

I am currently using market theme / plugin to sell digital products (embroidery files) using e-junkie to provide the digital delivery.  This works great by the way.  No customer has complained yet about not being able to download once they purchased.  The alternative shopping cart system for WordPress was much less reliable.  The other nice thing about using e-junkie is that we add authorize.net and any other payment methods that e-junkie supports seamlessly without making any changes to wordpress, the theme or plugin.   E-junkie even takes care of the SSL during it's checkout process.   One last advantage of using e-junkie is that it has a built in affiliate program.  As you can tell, I'm pretty happy with it so far!

7:41 am
September 23, 2009


daria369

Member

posts 9

11

Thank you ptocknell,

Your suggestion is definitely something I want to think about. My only objection is that I've been redoing and fixing my Arts Booutique website for so long that I really don't feel like starting from scratch once again… especially since it just started to look like an art gallery  – and close to what I emagined.

Daria's Arts Boutiquenhttp://arts-boutique.com

11:01 am
October 6, 2009


caw100

New Member

posts 1

12

I am trying to use e-junkie, have completed the required modifications as listed above (AFTER Market Theme ver 3.5) and am experiencing issues. Currently upon clicking the 'add to cart' button, a blank empty page loads -  mk3/ajCart/cart.php. I have verifed that my WP post ID and e-junkie product ID match. Any advice/assistance would be greatly appreciated!

4:44 pm
October 6, 2009


Market Admin

Admin

posts 4756

13

Did things work before you did the e-junkie modifications, or did you even test it then?

You might try changing the product images path from absolute, to "relative" in your "Market Theme" options area in your WP admin dashboard. 

If that doesn't work, please include a link to your website so we can take a look.

4:09 am
March 10, 2010


feldmanlori3

Guest

14

i do follow step by step above , but when i click in buy now button, one noctice happen : This product combination does not exist.

id post is 3 and in box items number is  3 also. and i replaced my e junkie id in xxx like your guide. but it not work

3:15 pm
March 10, 2010


Market Admin

Admin

posts 4756

15

You must be missing something in the setup.  These steps should work.

Please go through the steps again to make sure.

8:30 pm
September 19, 2010


unibookmart

Member

posts 14

16

Will this work in MK4 as well? i really hope it does.

11:35 am
September 20, 2010


Market Admin

Admin

posts 4756

17

It should work, as the functionality is still the same.

3:54 pm
February 23, 2011


ejubert

Member

posts 13

18

February 23, 2011 @ 4:54 pm CST

 

I've setup everything in my market theme based WP site except for the product post ids in e-junkie. When I "hover" over a listing, I'm not getting an individual product id number; I'm getting the name of the listing or the permalink url with a unique id within the url.     Is that what's being referred to in the e-junkie instructions?

 

Also, when I click on a listing, I get an error "Parse error: syntax error, unexpected T_ELSE in /home/ejubert/public_html/DigitalJobAids.com/wp-content/themes/mk4/single.php on line 279"

what's do this error mean? Is it due to my not having entered in the product post id into e-junkie?

 

Everything else has been done according to the letter of the instructions…

 

Eric

2:38 am
February 24, 2011


ejubert

Member

posts 13

19

Post edited 2:41 am – February 24, 2011 by ejubert
Post edited 2:47 am – February 24, 2011 by ejubert


Ok, I had to answer my own question to the "post id" riddle in order to get the work done. Here it is:

 

1 – go to the "product reports" section of the "Market Theme" admin area of WP

2 – hover the mouse pointer over the "Title" or "View" fields for a product listing

3 – Look at the bottom left corner of Internet Explorer; you will see either "post =" or "p ="; the number is what is entered into e-junkie.

4 – enter the post id number you found for each product in wordpress into the e-junkie "Item Number" field for each product

 

That's it! Changing the code must come after you have completed entering in ALL of product id numbers into each e-junkie listing that's also listed in the WP Market Theme.

 

I just wish this simple explanation was here for me Wink, but at least those that follow me will not have to waste fishing for the answers. Good luck!

9:24 pm
August 1, 2011


Market Admin

Admin

posts 4756

20

UPDATE

==========================

With Market Theme version 4.0 and up, the changes are a little different and are actually MUCH easier.

 

In fact, it can be done without any code modification at all.  (Except for maybe a graphic image change.)

 

Here's the post for Market Theme version 4.0 and up.

http://www.markettheme.com/for…..4-0-and-up



 

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.