Results 1 to 10 of 1704

Hybrid View

  1. #1
    Join Date
    Jul 2004
    Location
    The Netherlands, Wierden
    Posts
    430
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lhungil View Post
    Double check your installation. Something must be different between your upgraded installation and a clean install of Zen Cart 1.5 (lots of possibilities - from a broken template, a bad merge, leftover files from 1.3.8, renaming files to "back them up", another add-on causing the issue, etc).

    When testing (Zen Cart 1.5.x):
    • Passing the products_id to the category page in a URL (without POST data) did not add a product to the shopping cart.
    • In the default template products_id is only added to the form (action URL) when "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0".
    • Using the form to add products to the shopping cart still worked after removing products_id from the generated form (action URL) in the default template.

    (tested with the following: clean ZC 1.5.0, clean ZC 1.5.1, ZC 1.5.0 w/ USU, ZC 1.5.1 w/ USU).

    To narrow things down, see if everything works with the stock Zen Cart template and go through the steps for Diagnosing Obscure Issues.


    The only major issue I know of in Zen Cart 1.5.x with the "back" function is caused when a 404 occurs (template issues or broken link) and when all URLs (for files not existing) are set to go to Zen Cart. This was actually caused by Zen Cart adding the "404 Page Not Found" to the page history. The fix is posted here.
    It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
    When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart

  2. #2
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Just to make this absolutely clear: "Ultimate URLs is not causing your product to be added to the shopping cart. It does not include any code related to the shopping cart or adding products to the shopping cart. The problem you have reported does not exist on a clean Zen Cart 1.5.x installation with Ultimate URLs installed."

    Zen Cart's core code adds the product_id to the URL when "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0". This is normal and does not indicate an issue or error. This is not what is causing products to be added a second time.

    Ultimate URLs is acting exactly how it should act when Zen Cart requests the products_id be included in the URL (it does what it is told and adds the products_id).

    Quote Originally Posted by raimond View Post
    It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
    When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart
    I am unable to duplicate your reported issue "When products_id is in the URL to a category page the product is added to the shopping cart". This is NOT an issue with this module, but most likely caused by some other modification made to your Zen Cart installation.

    Somewhere in your installation something has been changed to add the product when the products_id is in $_GET. This is NOT normal Zen Cart operation (1.5.x uses $_POST data not $_GET data).

    Please do not post further in this thread as your issue is NOT caused by "Ultimate URLs".

    I would suggest you hire an experienced Zen Cart developer to find and fix the issue you are encountering (with your specific Zen Cart installation). You may also want to start a new thread with a clear and concise description of the issue you are encountering: "When products_id is in the URL to a category page the product is added to the shopping cart".
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #3
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by raimond View Post
    It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
    When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart
    Just for anyone else reading this thread who may run into the same problem... The issue has been tracked down to some core Zen Cart code which does not scrub the old "products_id" from the URL. This code is used to create the "buy now" form action (not the "add to cart" action - which I thought the case where the issue occurred).

    So if you have:
    Display Product Add to Cart Button: 1
    Display Multiple Products Qty Box: 0

    You will want to apply the code changes posted here.
    Last edited by lhungil; 17 Oct 2013 at 06:56 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. Ultimate Fade-In Slidehow Support thread
    By outeredge2 in forum All Other Contributions/Addons
    Replies: 158
    Last Post: 4 Feb 2017, 03:10 AM
  2. Ultimate Cross Sell [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 239
    Last Post: 17 May 2015, 03:25 AM
  3. Ultimate Content Glider [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 4 Sep 2012, 05:16 AM
  4. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM

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