As the title states... Buy Now works on the individual product page, but not under category view.
![]()
This is a discussion on Does your "Buy Now" button work in category view? within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; As the title states... Buy Now works on the individual product page, but not under category view....
As the title states... Buy Now works on the individual product page, but not under category view.
![]()
Ya, I have the same problem. Glad to see that I'm not the only one who didn't have a perfect install.
When it doesn't work, what happens. What does the button actually do?
[EDIT]
Ok, I see. It looks like another bug. The product_id is being left off the url for the buy now button.
I have added a bug report:
http://bugtrack.oscmax.com/view.php?id=11
I am doing debugging today, so I may get this resolved before tomorrow.
Michael Sasek
osCMax Developer
osCmax installation service - Have our professionals install osCmax on your server - same day service!
osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0
Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
This is resolved. See the bug report for the fix:
http://bugtrack.oscmax.com/view.php?id=11
Michael Sasek
osCMax Developer
osCmax installation service - Have our professionals install osCmax on your server - same day service!
osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0
Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
You may want to change the bug fix to show the whole line so people can just cut and paste it. Otherwise it's confusing and the bug fix doesn't seem to work. I would just add the correct line
$lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'pName')) . 'action=buy_now&products_id=' . $listing[$x]['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> ';
that way people can just copy and replace the line
The problem is with the bugtracking software. It is parsing the '<a href=" part of the corrected line of code.
I did post the entire line, unfortunately, it is not displaying properly...
Thanks for pointing it out, I totally missed it.
Michael Sasek
osCMax Developer
osCmax installation service - Have our professionals install osCmax on your server - same day service!
osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0
Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Did you try just using &lt;a href="
with the HTML special chars?
Yes I tried that, but the output then was still incorrect, simply adding the &lt; in front of the a href output. Still, it would have to be edited by the end user and could not be simply copied and pasted.
I worked around it by only posting the actual section that was changed in that line of code, not the entire line.
Michael Sasek
osCMax Developer
osCmax installation service - Have our professionals install osCmax on your server - same day service!
osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0
Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Bookmarks