Welcome! To use this support forum, please Login or Join Today!

   

E-commerce compatibility issue?

{name}
Rank

Total Posts: 5

Joined 2011-10-10

PM

 

Any recommendations on a good e-commerce plugin that is compatible with the onyx theme?  Installed wp e-commerce and it messed up my entire site… Help please!

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Hi, most shopping cart solutions (especially WP e-commerce) require their own modifications to theme files to display in the content area properly. Even then, you’ll need to know a good bit of CSS in order to make it all come together.

That said, the one shopping cart solution that I have used that is super easy and works with any theme is Cart66. Basically, you just insert a product shortcode into a page or post and it displays the item. It’s ideal for shops that don’t have a huge inventory. If you need a bigger solution that isn’t as easy as Cart66 but much easier than WP e-commerce, then I’d go with Jigoshop.

I should be around most of the weekend. If you decide which one to use and are having issues, feel free to PM me your wp-admin and FTP details and I’ll see if I can get you one step closer.

{name}
Rank

Total Posts: 5

Joined 2011-10-10

PM

 

Casey,

I took your advise and purchased Cart66.  We have everything up and running but I am running into one issue.  When users navigate to the checkout page, that page is protected by an SSL Cert, and IE displays the warning message that “Only secure content is displayed”.  In fact, you can see this warning message on any page that is viewed via https.  I asked Cart66 about it and had them check their code.  They told me that it looked like an issue with the theme or a plugin on the site.  They error message is “Uncaught ReferenceError: JQuery is not defined”.  Any ideas?  You can view the site at http://www.Prosafesolutions.com

Thanks!

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Hi, It looks like the thumbnails generated by timthumb and the jQuery reference were being called via http instead of https. I’ve corrected this in the latest update to the theme. See Rev #1007 here: http://www.simplethemes.com/wordpress-themes/changelog/onyx

You should only need to update:

~ wp-content/themes/onyx/header.php
~ wp-content/themes/onyx/lib/functions/content_functions.php
~ wp-content/themes/onyx/lib/functions/header_functions.php

{name}
Rank

Total Posts: 5

Joined 2011-10-10

PM

 

Thanks Casey.  Do I get the updated theme from the “Your Downloads” page?

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Yes, that is correct.

{name}
Rank

Total Posts: 5

Joined 2011-10-10

PM

 

I have updated the 3 files that you suggested and I am still getting the same error.  Any other ideas?

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

The only other non-https element I see in the source is the reference to jQuery.

It looks like:
https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
redirects to:
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js

so, in wp-content/themes/onyx/lib/functions/header_functions.php on lines #24 and #26 change each to:

wp_register_script('jquery', get_bloginfo('stylesheet_directory') . '/js/jquery.min.js', array('jquery'), '1.0', false);

This should detect the https protocol and use the theme’s version of jQuery.