Forums / All Other Contributions/Addons / shopping cart product links w attributes broken

shopping cart product links w attributes broken

Locked

Views: 2,081

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
30 Dec 2006, 6:07 AM
#1
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

shopping cart product links w attributes broken

Admittedly, this is a heavily modified site so please confirm:

In the shopping cart, where it lists the items and has the link back to the product, the link is bad if there are attributes. This is because line 118 in /includes/modules/pages/shopping_cart/header_php.php says:$linkProductsName = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']); when it should say: ```
$linkProductsName = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . zen_get_prid($products[$i]['id']));


This is with 1.3.6.

 - Steven
30 Dec 2006, 6:29 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: shopping cart product links w attributes broken

Where are you getting a bad link?

With attributes it takes you back to the actual attributes you have set ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 Dec 2006, 6:38 AM
#3
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: shopping cart product links w attributes broken

ahh... ok, that probably explains it then, thanks.

I'm using the Products with Attributes Stock contrib and that's probably crapping it out. If it works on yours, then don't worry about it.

  • Steven