• Spogdude

    (@spogdude)


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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Spogdude

    (@spogdude)

    Well, that’s lovely. Thanks for all the help. No, really, it means a lot coming from such a supportive and helping community.

    I’ll just keep at it and make some ugly hacks here and there to achieve desired results since no one here can possibly figure it out.

    gopal1035

    (@gopal1035)

    I’m having a similar issue.

    Trying to make image sliders like http://sorgalla.com/projects/jcarousel/ and one other slider work on front-page.

    There is a conflict with wp e commerce plugin, because I comment out plugins’ wp_enqueue_script, the slider works fine.

    Since, it is an e-commerce site, the plugin is important but the slider would also look good on main page.

    Have made a list of scripts used by the plugin, and now would look for sliders that do not use it:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Warm regards
    Gopal

    P.S.:
    @spogdude, sorry to see that the community has not been able to help you yet. But I agree with the moderator’s view that if it is time-bound, and with large amount of money is involved, it might be better to hire someone to get it done asap.

    Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP e-Commerce, jQuery, Frustration.’ is closed to new replies.