Open Source Services

Development Services and Products for Open Source e-Commerce Sites

 
Welcome, Guest
Please Login or Register.    Lost Password?

easyCommentz v0.1.1 - erroes
(1 viewing) (1) Guest
Support forum for the free easyCommentz comments and feedback system for osCommerce available from the osCommerce contributions site.
Go to bottomPage: 12
TOPIC: easyCommentz v0.1.1 - erroes
#546
Re:easyCommentz v0.1.1 - erroes 3 Years, 5 Months ago  
Hello,

I had the same problem, but solved it by changing a product name that had a quote in it. For example: digital camera "Nikon"

So you get something like this in youre javascript code: product_names[1]= "digital camera "Nikon"";
abdel
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#547
Re:easyCommentz v0.1.1 - erroes 3 Years, 5 Months ago  
Hi Guys

First of all, thank you to abdel for identifying what was causing the problem. I have made a fix for it so you can now include double quotes in your product names if necessary.

So for both of you, here's the fix:

Open the file catalog/admin/comment8r.php

Look at (around) line 122, and you should find this line:

Code:

echo 'product_names['.$i.']= "'. $arr_model_info[$i] .'";';


REPLACE the line above with this line:

Code:

echo 'product_names['.$i.']= "'. str_replace('"', '\"',$arr_model_info[$i]) .'";';


save the file and test.

thanks again.

Nick
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#927
Re: easyCommentz v0.1.1 - erroes 1 Month ago  
dca wrote this "hello,

Just installed this great contribution but have some strange problems with it.

On the Client side:
Everything looks oké, but when I click the submit button it adds the item to the shopping cart."



How was this issue solved I am facing the same problem! Please help me too!
radhavallabh
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#928
Re:easyCommentz v0.1.1 - erroes 1 Month ago  
Hi, Pls cud u explain to me how this issue was solved I am getting the same error on Send it redirects me to shopping cart I am not able to get the script out of the form tag.
radhavallabh
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#929
Re:easyCommentz v0.1.1 - erroes 1 Month ago  
Hello

Just move the closing </form> tag above where you added the ezCommentz code in your product info file.

Don't forget to make sure that any product attributes, product quantities and of course the 'add to cart' button are all in between the opening and closing form tags though.

Nick
OSS
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#930
Re:easyCommentz v0.1.1 - erroes 1 Month ago  
I cannot find the form closing tag on my product info.php at http://www.krishnastores.com
The form tag is opened using php hence it does not have a close tag
radhavallabh
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/01/02 16:03 By radhavallabh.
The administrator has disabled public write access.
 
Go to topPage: 12