WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[resolved] Error on product page (6 posts)

  1. lambertini
    Member
    Posted 3 months ago #

    I have installed wordpress 3.8.3 and wp ecommerce 3.8.13.4. I am using the twentyfourteen theme.

    My problem is that when I drill down to product page level I get a page cannot be found message.

    The URL being returned is:

    mysite/products-page/whirlpool/prod4/

    When in fact it should be

    mysite/index.php/products-page/whirlpool/prod4/

    If I type the second into the address bar the page displays

    Do you know what is causing the link to be incorrect and how I can fix it?

    Many Thanks

    https://wordpress.org/plugins/wp-e-commerce/

  2. Edward
    Member
    Plugin Author

    Posted 3 months ago #

    I've never seen a WordPress site using index.php in the permalinks.

    Check the trouble-shooting tips at the Permalinks page.

    If your permalinks don't work without index.php in them (AKA "Almost Pretty" permalinks) then you may need to work with your host to resolve the issue.

    Regards
    Edward

  3. Edward
    Member
    Plugin Author

    Posted 3 months ago #

    lambertini we had a look into this further and can confirm there is something peculiar happening with permalinks and the use of index.php

    We will look into this as quickly as possible. I have submitted an issue and you can follow up with it's progress here https://github.com/wp-e-commerce/WP-e-Commerce/issues/1126

    Regards
    Edward

  4. Justin Sainton
    Member
    Plugin Author

    Posted 3 months ago #

    Hi lambertini,

    The fix for this will be in the upcoming 3.8.14 release.

    In the meantime, if you'd like to port over the code that fixes it, you can look at this commit on GitHub

    https://github.com/wp-e-commerce/WP-e-Commerce/commit/743789b1a37f0d026ae0c8e761e0a8934168081b

  5. Edward
    Member
    Plugin Author

    Posted 3 months ago #

    Fixed. If you would like to take advantage of the fix prior to it's release.

    You will need to replace product.php found in the following path
    wpsc-components/theme-engine-v1/helpers/product.php

    With the code found here
    https://raw.githubusercontent.com/wp-e-commerce/WP-e-Commerce/743789b1a37f0d026ae0c8e761e0a8934168081b/wpsc-components/theme-engine-v1/helpers/product.php

    Regards
    Edward

  6. lambertini
    Member
    Posted 3 months ago #

    Many thanks for your prompt responses. The revised file works!

    Regards

Reply

You must log in to post.

About this Plugin

About this Topic