Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Posts
    50
    Plugin Contributions
    2

    [not a bug] uncertain with "Buy Now" Buttons

    http://markham.kirkhamsystems.dyndns...=index&cPath=2

    Goto the link provided and click "add to cart" button, and look what happens to the category name

    seems to have something to do with the url having a products_id= in it as it seems you can change the product id in the url and the name of the category changes. wierd one I tell you.

  2. #2
    Join Date
    Jul 2006
    Posts
    50
    Plugin Contributions
    2

    Default Re: bug with"Buy Now" Buttons

    Quote Originally Posted by graper
    http://markham.kirkhamsystems.dyndns...=index&cPath=2

    Goto the link provided and click "add to cart" button, and look what happens to the category name

    seems to have something to do with the url having a products_id= in it as it seems you can change the product id in the url and the name of the category changes. wierd one I tell you.

    Fixed it for my add to cart buttons on the front page in featured products, still having found out why when you goto a category and click on add to cart why it changes the title

    /includes/init_includes/init_category_path.php
    lines 18 and 19 gets product_id out of the querystring when it should be trying to get cPath. why cPath would ever need to get a products_id I don't know, but changing it like this fixed it.

    } elseif (isset($_GET['cPath']) &&!zen_check_url_get_terms()){
    //elseif (isset($_GET['products_id']) && !zen_check_url_get_terms()) { //changed to above
    $cPath = zen_get_product_path($_GET['cPath']);
    //$cPath = zen_get_product_path($_GET['products_id']); //changed to above


    More info
    Zen Cart 1.3.0.2
    Database Patch Level: 1.3.0.2
    v1.3.0.2 [2006-07-24 13:07:18] (Fresh Installation)
    Server OS: Windows 2003 web edition
    HTTP Server: Microsoft-IIS/6.0
    Database: MySQL 5.0.20-nt-max
    Database Date: 08/14/2006 15:56:12
    PHP Version: 4.4.1 (Zend: 1.3.0)

  3. #3
    Join Date
    Jul 2006
    Posts
    50
    Plugin Contributions
    2

    Default Re: bug with"Buy Now" Buttons

    okey, nevermind that change, I think I'm just tired not to mention I threw out my back so I'm thinking strainght. Forget the fix I provided

  4. #4
    Join Date
    Jul 2006
    Posts
    50
    Plugin Contributions
    2

    Default Re: [not a bug] uncertain with "Buy Now" Buttons

    here's one way to solve it, set Admin > Configuration > Display Cart After Adding Product = true

 

 

Similar Threads

  1. Extra "Buy Now" buttons for Buy 1, Buy 2, Buy 3, Buy 4 etc...
    By AndyVI in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Mar 2011, 06:15 PM
  2. Replies: 1
    Last Post: 10 Feb 2011, 06:36 AM
  3. How to: new/featured main page - "buy now/details" change to "design" with attributes
    By ladybugmom in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jan 2011, 11:23 AM
  4. "more info" instead of "buy now" (even with no attributes)
    By p m in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 2 Aug 2007, 03:24 AM
  5. Force "more info" instead of "buy now" (even with no attributes)
    By thechoyboy in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 31 Oct 2006, 12:37 AM

Posting Permissions

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