WP e-Commerce, jQuery, Frustration.
-
So, I recently set up my workplace’s website and everything was going well. However, I needed to create a dynamic on-site store due to the fact that we had some issues regarding online sales. To say the least, one of our suppliers were complaining that we couldn’t use eBay to sell their products. If we can’t find an alternative way to sell said products, we could be out on approximately $50,000. To make matters worse, we have two days to set this up.
In hesitation, I decided not to build it from scratch and instead used a WordPress plugin known as WP e-Commerce. It seems great, but I’m having major issues getting it to work.
First off, when I try to test the “Add to Cart” button, no action is performed and no matter the quantity, the product immediately goes completely out of stock. We have to enter higher numbers of stock just to make it “in stock”. It would be useful to know how to reset the stock.
Secondly, I believe I’m having problems because my jQuery scripts aren’t working. I’m not sure if their conflicting with something or what. That is to say, I’m loading jQuery from a different directory than the installed WordPress directory (which is the root directory). In fact, jQuery seems to be loading fine, but some of my scripts aren’t. I’ve tried the whole
<?php wp_enqueue_scripts('jquery'); ?>
code, in every which way possible, but it doesn’t seem to make a difference. I even made sure it came before<?php wp_head(); ?>
and all.Then, that’s the other issue. I do not want to load
<?php wp_head(); ?>
because the output code conflicts with my theme design and a lot of the output code included isn’t even necessary to my needs. If there was a way to directly edit the output code of the function, that would be cool. But, it doesn’t matter right now. I’ve made conditional statements to see if the page is a WordPress page (I’m only using WordPress to primarily display blog posts on the home page and the online shop) so I could load some of the scripts that seemed necessary. But, even then, the scripts won’t work.Finally, I want to make a PayPal gateway for customers to use, but it is not being displayed. Again, I believe the lack of jQuery functionality is at fault for this. I’ve used WordPress’s version of jQuery, the Google libraries, and my own. They all seem to load, but none of the scripts I write seem to want to work. In fact, all that really works is my Cufon script.
I’m sorry for such the hassle, but I really need some help on this. With two days left, it gets a guy stressed out. I’ve been trying to make it work for almost three days now but alas, no progress. If you’d like to view the page(s), I’ve provided a list below. Thanks a lot.
[No bumping – especially after only 1 hour. If it’s that urgent, consider hiring someone.]
- The topic ‘WP e-Commerce, jQuery, Frustration.’ is closed to new replies.