logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Wednesday, October 28, 2020 12:53:16 PM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Other Products By manufacturer does not send to the correct link. When you hover over the link, it shows something like Search?manufacturerId=1, but you get sent to Search?manufacturerId%20=%201

Can we fix this?
Thanks

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shari  
#2 Posted : Thursday, October 29, 2020 3:03:14 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Yes, there are extra spaces added to the URL.

To fix this, please follow the steps

1- Open \Website\Views\Product\_ProductManufacturer.cshtml
2- Search for
Code:
<h5><a href="@Url.Content("~/Search?manufacturerId = " + Model.Manufacturer.Id)">@GetResourceString("retail.productmanufacturer.other_products_by") @Model.Manufacturer.Name</a></h5>

3- Replace with
Code:
<h5><a href="@Url.Content("~/Search?manufacturerId=" + Model.Manufacturer.Id)">@GetResourceString("retail.productmanufacturer.other_products_by") @Model.Manufacturer.Name</a></h5>

4- Save the file.
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.