Completed

Fix adding product to shop cart (script worked fine before, now needs fixed after mod_rewrite job done)

This project was successfully completed by cmcs for $35 USD in a day.

Get free quotes for a project like this
Employer working
Completed by:
Project Budget
$10 - $30 USD
Completed In
1 day
Total Bids
10
Project Description

PROBLEM:

after mod_rewrite on an e-commerce site the products do NOT get added correctly to shopping cart when you do it from the products page. It DOES get added though if you add the product from the category page(s) (where you have lots of products listed within a category).

EXAMPLE of how to reproduce the error:

1. go to this URL: [url removed, login to view] (a sample product page)

2. click the add to shop cart little button (in Italian)

3. go to Shop cart - click on the image of the shop cart (upper right corner)

4. notice that the shop cart did add an item, but does not know which item and does not display it (see below detail on what the problem is and the potential solutions would be to fix this)

EXAMPLE of how to reproduce the successful addition to shop cart of the same product from the category page:

1. go to this URL: [url removed, login to view] (the category page this product belongs to, could be any example product but let's say to keep it same example)

2. click on the little shop cart button under the same product (the one on the right, in the first row of products).

3. go to Shop cart - click on the image of the shop cart (upper right corner)

4. notice in the shop cart the system added everything correctly

CAUSES:

BEFORE mod_rewrite the product page' url would look like this: [url removed, login to view]

Now the .htaccess modifies the products URLs to the name of the product(s) itself. Namely the [url removed, login to view] prior to mod_rewrite had lines like this (notic the bold):

Line 162:

SUBMIT DATE

LAST UPDATED

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online