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....
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| As the title states... Buy Now works on the individual product page, but not under category view. |
|
#2
| |||
| |||
| Ya, I have the same problem. Glad to see that I'm not the only one who didn't have a perfect install. |
|
#3
| ||||
| ||||
| 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
|
|
#4
| ||||
| ||||
|
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| 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 |
|
#6
| ||||
| ||||
| 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
|
|
#7
| |||
| |||
| Did you try just using &lt;a href=" with the HTML special chars? |
|
#8
| ||||
| ||||
| 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
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suggestion to fix the magic quotes "back" button i | midwestwebsites | osCMax v2 Customization/Mods | 0 | 06-05-2006 07:57 AM |
| Change the link on "Continue" button on checkout_s | chrisrex | osCMax v2 Customization/Mods | 0 | 11-22-2005 06:10 PM |
| "Price" and "Add to Cart" button inside | midwestwebsites | osCMax v2 Customization/Mods | 3 | 11-14-2005 05:13 AM |
| "Continue" button links to different page.Strange. | yellowriver | osCommerce 2.2 Modification Help | 7 | 11-03-2004 12:49 PM |
| Remove "in cart" Button for individual categories | Mongrrr | osCommerce 2.2 Modification Help | 0 | 04-24-2003 06:02 AM |