Upgrade to 7.0.4 and "C" is in the URL

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Tue Jun 01, 2010 3:22 pm

I just upgraded from V7 to 7.0.4. Now I am getting the "C" in my URL again.

I thought this was fixed in 7.0.4. I installed all patches including 8754. How do I get rid of this?

I did some customization for this quite a while back and tried it, but the page doesn't seem to work with this version. It seems that only the basic category.aspx page works, but then the sort order is all wrong and the category description doesn't show.

I need to use the "Grid" style category page and the category description MUST show. (Grid4)

Any help on this would be appreciated.

Thanks,
Scott
Contractor's Solutions
www. contractors-solutions.net

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Wed Jun 02, 2010 7:19 am

I just checked for the Canonical Link Tag, and it is there. But it doesn't seem to work because the "C##" is still in the URL.

Why doesn't it work on my site?

Any body have any ideas?

Thanks in advance,

Scott
Contractor's Solutions
www. contractors-solutions.net

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by mazhar » Wed Jun 02, 2010 7:39 am

Did you remember any thing about the customization you made to fix it in past. May be its something because of those changes.

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Wed Jun 02, 2010 9:20 am

I am quite sure it was this:
viewtopic.php?f=42&t=7034&hilit=duplicate+url&start=25

But the upgrade has all new Category pages. The old page won't work at all. Must be because of the version change.

PageHelper.cs was also updated with he upgrade. My pages have the new Canonical Link Tag in the source code.

You can see an example by clicking on a product from this category: http://www.contractors-solutions.net/Wo ... s-C11.aspx
The Brawny pants product has the canonical link tag in the source: <link rel="canonical" href="http://www.contractors-solutions.net/Bl ... -P405.aspx" />
but it still has the C## in the URL.
It is interesting to note that this doesn't happen when I use the Category Grid (Deep Item Display) (Category.aspx) option.
Contractor's Solutions
www. contractors-solutions.net

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Thu Jun 03, 2010 1:42 pm

I am now having customers telling me they are having difficulty checking out. They get a message saying Bot Activity Detected!

I will post this issue as a new thread.
Contractor's Solutions
www. contractors-solutions.net

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by jmestep » Fri Jun 04, 2010 6:59 am

What category display page are you using? I had thought the links were all fixed to not use C.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Sat Jun 05, 2010 8:34 am

I am currently using CategoryGrid4.aspx. It is the page I have been using all along and is laid out the way I need it including the sort order. The only page that works without the "Cxxx" is Category.aspx.

The source code from my product pages shows that the Canonical Link Tag is there, but for some reason, it is doing the job.

Thanks for replying,

Scott
Contractor's Solutions
www. contractors-solutions.net

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by jmestep » Sun Jun 06, 2010 1:03 pm

You are correct- I had it in my mind that Able had fixed all of that, but hadn't checked all the pages.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Sun Jun 06, 2010 1:58 pm

The only page that I have that works correctly is Category.aspx. I thought the problem was with my upgrade. So, I guess you are saying that it really hasn't been fixed at all? I don't understand why they say it has been fixed when in fact it is not. I must be missing something.
Google has already reported many duplicate pages for my site. I was hoping to avoid all of that.

I need to use CategoryGrid4.aspx because I need to have the category description as you can see here: http://www.contractors-solutions.net/Ka ... s-C44.aspx. Previously, we had done a work around, but that page doesn't seem to work in v7.0.4. At least it doesn't work for me.

Is there any way to make this work with 7.0.4?
Contractor's Solutions
www. contractors-solutions.net

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by jmestep » Mon Jun 07, 2010 6:40 am

What you would need to do is make a conditional section where if the object being displayed is a product, you use the productUrl instead of the catalogNodeUrl
You can see in the section where Able creates some display elements only if it is a product, like the retail price

Code: Select all

 //OUTPUT RETAIL PRICE IF AVAILABLE
                if (catalogNode.CatalogNodeType == CatalogNodeType.Product)
                {
                    Product product = (Product)catalogNode.ChildObject;
so you would need to get the productUrl
string productUrl = this.Page.ResolveClientUrl(product.NavigateUrl);
then use that

Code: Select all

 //OUTPUT LINKED NAME
                itemTemplate1.Controls.Add(new LiteralControl(string.Format("<a href=\"{0}\" class=\"highlight\">{1}</a><br />", productUrl, product.Name)));

  //OUTPUT LINKED THUMNAIL
                if (!string.IsNullOrEmpty(product.ThumbnailUrl))
                {
                    string thumbnail = string.Format("<a href=\"{0}\"><img src=\"{1}\" alt=\"{2}\" border=\"0\" class=\"Thumbnail\" /></a><br />", productUrl, ResolveUrl(product.ThumbnailUrl), product.ThumbnailAltText);
                    itemTemplate1.Controls.Add(new LiteralControl(thumbnail));
                }
                else
                {
                    itemTemplate1.Controls.Add(new LiteralControl("<br />"));
                }
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Tue Jun 08, 2010 5:40 pm

Thanks for the help.

Is this modification to be made to the CategoryGrid4.aspx ?

Because, I can't find anywhere on my CategoryGrid4.aspx that looks like that.

Thanks,
Scott
Contractor's Solutions
www. contractors-solutions.net

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by mazhar » Wed Jun 09, 2010 6:19 am

You need to do this in ConLib/CategoryGridPage4.ascx file.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by jmestep » Wed Jun 09, 2010 6:50 am

It's actually the CategoryGrid4.ascx.cs file.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Wed Jun 09, 2010 6:55 pm

Thanks Judy and Mazhar,

How do "get the productUrl"?
Contractor's Solutions
www. contractors-solutions.net

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by jmestep » Thu Jun 10, 2010 6:11 am

It would be something like string productUrl = Page.ResolveClientUrl(product.NavigateUrl).
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Thu Jun 10, 2010 7:05 am

Thanks, but where would it go?

I already tried that and it didn't work. I don't think I placed it correctly.
Contractor's Solutions
www. contractors-solutions.net

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Sat Jun 12, 2010 2:32 pm

jmestep wrote:It would be something like string productUrl = Page.ResolveClientUrl(product.NavigateUrl).
Any body know WHERE this is supposed to go?

Any help would be appreciated.

Thanks in advance, (I hope)

Scott
Contractor's Solutions
www. contractors-solutions.net

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by mazhar » Mon Jun 14, 2010 3:24 am

you need to use this where you have product information available in your code. What is the scenario where you need product URL.

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by kwikstand » Mon Jun 14, 2010 7:41 am

You need to read this post. I need to get the "C##" out of the URL. Able was supposed to have fixed this problem with the canonical link meta tag it does NOT WORK.

It says right in the upgrade instructions that this has been fixed in v 7.0.4

I thought maybe I did not do something right when I upgraded, but Judy says
jmestep wrote:You are correct- I had it in my mind that Able had fixed all of that, but hadn't checked all the pages.
WHY DO THEY SAY THIS HAS BEEN FIXED IN 7.0.4, WHEN IN FACT IT IS NOT!!!

Sorry if I seem agitated, but quite frankly, I am. Why is the support at Able so lame? They have a great product for the most part, but do everything possible to avoid support. They push everything to this forum, which sometimes is a great help and I thank all of you who do help. But other times it is just a hope and a prayer.
Contractor's Solutions
www. contractors-solutions.net

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by mazhar » Mon Jun 14, 2010 8:32 am

EDIT control file name corrected
Please try following quick workaround. Edit your ConLib/CategoryGridPage4.ascx.cs file and locate following code

Code: Select all

string catalogNodeUrl = this.Page.ResolveClientUrl(catalogNode.NavigateUrl);
and update it with

Code: Select all

string catalogNodeUrl = this.Page.ResolveClientUrl(catalogNode.ChildObject.NavigateUrl);
save the file and then test again.

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by Shopping Cart Admin » Mon Jun 14, 2010 1:14 pm

Hello,
Why is the support at Able so lame?
When we lowered the price of the product from $2995.00 to $995.00 it was with the understanding that we can only afford to offer install support for 30 days.

As a long time customer I'd guess you would know that paid priority support via our case system is readily available?

We provide solid support, it's just paid. Our developers are very active in the forums providing helpful samples and much more. I'm sorry you're frustrated, but you'd not 'contacted support' until just this morning when you opened your case.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Upgrade to 7.0.4 and "C" is in the URL

Post by jmestep » Wed Jun 16, 2010 6:42 am

When I said "fixed", I meant a change in the page code. I think the "fix" for canonical links means that with that info, the search engines that look for it will use the canonical link instead of the one that has a "Cxx" in it.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply