E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic: | |
| |
|
jscott member Posts: 3 |
I have a wordpress site... very simple. I set up a simple non-variant product and pasted the code into html portion of a post. Add2cart launches a new HTML window instead of a Flash window. I have a product with a variant, new post, paste code, add2cart launches a Flash cart and does not contain the non-variant product. A second non-variant product goes into the same HTML cart as non-variant product #1. A second variant product goes into the same Flash cart as variant product #1. View cart button in left side bar opens and shows Flash cart containing variant products but not non-variant products. Cart ID is the same in all code snippets. I have javascript code in the <head> tag, all 4 posts (products) are in the same containing tag and loop. Why does a non-variant product call a html cart while a variant product calls a Flash cart, why not the same cart? How do I get all products into the same Flash cart? http://msienterprises.com/msi/blog I am testing this product with the 7-day trial. Scott # POSTED ON: June 27, 2009 @ 16:32 GMT -7 |
|
7w member Posts: 29 |
I use Joomla and have a similar issue. Joomla messes with some variations of the code that it doesn't like. For the code to work properly, I have to design the page with the WYSIWYG designer, then turn the WYSIWYG off to insert the shopping cart code. If I later make any changes to the page, I have to manually re-insert the shopping cart code afterwards, or else the Joomla WYSIWYG editor will have messed up the e-junkie code again. My guess is that yolur wordpress is doing the same thing. I would suggest turning off your WYSIWYG editor prior to adding your shopping cart code. That should solve your problem. # POSTED ON: June 27, 2009 @ 20:03 GMT -7 MODIFIED ON: June 27, 2009 @ 20:05 GMT -7 |
|
jscott member Posts: 3 |
I did that before I put in the code... and why does it work properly when it's a variant product and not when it's a non-variant? If that were the case neither should work. # POSTED ON: June 27, 2009 @ 20:55 GMT -7 |
|
jscott member Posts: 3 |
This made me think about the difference between the two product scripts. The variant products are wrapped in a <form> tag while the single product tags are <a href> tags. I copied the <form> tag and stripped out the field tags and swapped in the non-variant product ID and the non-variant product now works properly. Somehow the <form> tags work while the <a href> tags don't. # POSTED ON: June 27, 2009 @ 21:19 GMT -7 |
|
7w member Posts: 29 |
It's your CMS that plays with the code it doesn't like - it seems that it doesn't like something in the formatting of the single-product code. Try this - look at the problem code before you put it in your store, and in the source code of the page where it doesn't work properly, and you'll be able to see what changes wordpress made to the code. # POSTED ON: June 28, 2009 @ 04:40 GMT -7 |
|
empowered member Posts: 2 |
My organization has a site that was created in Joomla. When I paste the "add to cart" or "view cart" code (with no javascript) to our bookstore page, the HTML code displays opposed to the “view cart” or “add to cart” graphic. I have tested the code provided by e-junkie by copying and pasting the code into a separate HTML page (outside of Joomla) to rule out any other problems. The graphic displays in this separate HTML page. When you view the bookstore page in the browser, the HTML that displays is identical to the code provided by e-junkie, BUT when you view the source code, the character codes (in red text below) for ‘<’ ‘<’ is displayed opposed to the actual character. I don’t if this is the problem, but it is the only difference that I can tell. I am a novice developer who trying to help my organization by maintaining & updating our site. Does anyone have any suggestions? lc # POSTED ON: April 8, 2010 @ 14:13 GMT -7 |
|
E-junkieNinja E-Junkie Crew Posts: 636 |
The reason this is occurring is because you are entering the code in a WYSIWYG(what you see is what you get) editor. You will need to check to see what you need to do to be able to add in pre-made HTML code to your Joomla site without the web editor changing what you are entering in. A good place to start would be: Forum.Joomla.org # POSTED ON: April 8, 2010 @ 14:25 GMT -7 |
|
empowered member Posts: 2 |
Thank you very much for your prompt response! I will start there and follow up. lc # POSTED ON: April 8, 2010 @ 14:29 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






