Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Code Doesn't Work When You Make Changes On Pages



articlemarketingqueen
member
Posts: 2


I have a page with a list of products. Each has its own ejunkie payment button/cart button.
When I make any changes in the html of this page (wordpress platform), all of the buttons
stop working. So I have to add the code back to any one of the buttons, and then they all
work again. It doesn't matter which button.

Is there anyway to avoid this?

Thanks In Advance:)


#
POSTED ON: March 1, 2010 @ 17:52 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3486


First, I'll refer you to the WordPress section of this help page, although it may only allow you to understand what is happening without really helping you avoid the problem:
http://www.e-junkie.com/ej/help.site-blog.htm#wordpress

The problem is that the visual-design mode of WordPress' standard posting editor tends to mangle the javascript portion of our standard button code. When you paste-in our code and save the post directly from the code view, that should preserve the code exactly as you pasted it, but then if you edit the same post later, our button code gets mangled again as soon as the post is loaded up in the post editor's visual-design mode.

The simplest way around this would use our non-javascript button codes, although this would open the cart in a new window/tab rather than using our nice overlay-style standard cart. Aside from that, perhaps you could experiment with using a different posting editor plugin that may be able to handle existing button codes without mangling them?


#
POSTED ON: March 1, 2010 @ 19:47 GMT -7




articlemarketingqueen
member
Posts: 2


Thank you so much. This helps me understand what is going on.

Lisa


#
POSTED ON: March 1, 2010 @ 21:35 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam