Results 1 to 8 of 8

Does your "Buy Now" button work in 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....

      
  1. #1
    New Member
    Join Date
    Jun 2005
    Posts
    5
    Rep Power
    0


    Default Does your "Buy Now" button work in category view?

    As the title states... Buy Now works on the individual product page, but not under category view.


  2. #2
    New Member
    Join Date
    Nov 2004
    Location
    Colorado
    Posts
    17
    Rep Power
    0


    Default RE: Does your "Buy Now" button work in category vi

    Ya, I have the same problem. Glad to see that I'm not the only one who didn't have a perfect install.

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: Does your "Buy Now" button work in category vi

    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

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: Does your "Buy Now" button work in category vi

    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

  5. #5
    New Member
    Join Date
    Nov 2004
    Location
    Colorado
    Posts
    17
    Rep Power
    0


    Default RE: Does your "Buy Now" button work in category vi

    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. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: Does your "Buy Now" button work in category vi

    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

  7. #7
    New Member
    Join Date
    Nov 2004
    Location
    Colorado
    Posts
    17
    Rep Power
    0


    Default RE: Does your "Buy Now" button work in category vi

    Did you try just using <a href="
    with the HTML special chars?

  8. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: Does your "Buy Now" button work in category vi

    Yes I tried that, but the output then was still incorrect, simply adding the < 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

Similar Threads

  1. Suggestion to fix the magic quotes "back" button i
    By midwestwebsites in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 06-05-2006, 08:57 AM
  2. Change the link on "Continue" button on checkout_s
    By chrisrex in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-22-2005, 06:10 PM
  3. "Price" and "Add to Cart" button inside
    By midwestwebsites in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 11-14-2005, 05:13 AM
  4. "Continue" button links to different page.Strange.
    By yellowriver in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 11-03-2004, 12:49 PM
  5. Remove "in cart" Button for individual categories
    By Mongrrr in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-24-2003, 07:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •