Zen Cart Logo

Url &

Locked

Views: 2,535

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
8 Sep 2008, 3:52 AM
#1
djjase avatar

djjase

New Zenner

Join Date:
Jun 2008
Posts:
29
Plugin Contributions:
0

Url &

Hi,

Not sure where this should be posted, so I will try here.

My Zencart uses the following in the URL

index.php?main_page=index&cPath=2_239

Is there a fix to make it correct as follows:

index.php?main_page=product_info&cPath=222&products_id=244

ie: It should be using & and not just &

Is there a fix or a mod for this?

8 Sep 2008, 1:03 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Url &

The URLs genered by Zen Cart should all use the &

What makes you think there is a problem?

8 Sep 2008, 1:43 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Url &

First - when posting links on the forum - Always remove the zenID.

Second, if you are talking about the URL you see in the browser's address bar, you will only see &, because it has been "translated" by the browser. If you look at the page source, you will see &

9 Sep 2008, 3:52 AM
#5
djjase avatar

djjase

New Zenner

Join Date:
Jun 2008
Posts:
29
Plugin Contributions:
0

Re: Url &

The problem is when I am using the URL to link to a product, it comes back with "Sorry the product was not found".

The link goes as & but zencart doesnt accept it

If I remove the & from the URL it works.

To see what I mean go here: click on any of the images that pop up

https://whatstobuy.com/seasonal/christmasday/christmasday.html

9 Sep 2008, 4:14 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Url &

I see: https://whatstobuyaustralia.com/index.php?main_page=product_info&cPath=1_27&products_id=29

This suggests that it's your Flash program that's causing the "click" to send to the wrong address. You likely need to convert all those & to just & inside your flash program because a & in your browser's URL bar is always going to be treated literally as & instead of &.

9 Sep 2008, 4:26 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Url &

Yes, I know .. that's what your flash program is sending your customers to.
You need to NOT use & in the URLs produced by your flash program.