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
ray22901031  
#1 Posted : Saturday, March 11, 2023 3:04:30 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 830

Thanks: 3 times
Was thanked: 14 time(s) in 14 post(s)
Please read the following post below to give you a reference as to this topic. I have not implemented the code change, in fact, we took a different direction.

https://www.ablecommerce...feature-products-widgets

We created a new category called feature products, and underneath that category, we created two other sub-categories as follows:

  • Motorola Radios - ID 309
    RCA Radios - ID 310


We have two different web pages, each with two separate inner templates. The templates themselves are the same, but by having two different templates, we can adjust the category ID of each one separately.

On the following page, please see below.

https://www.myradiomall.com/rca

You will see that the inner template for this page is set to category ID 310. At first, this page was not working, it was loading products correctly at the beginning, but once you started hitting refresh, it would display other products outside the category ID of 310. But this problem seemed to go away after I reindexed the database.

If you now go to the home page, please see below:

https://www.myradiomall.com/

You will see that it's displaying different products because the category ID is set to 0. If I set the category ID to anything else, nothing displays.

I have a feeling that when you have two different templates, each one is referencing to a different category ID's besides 0, the system has issues retrieving products based on those category IDs.

We like having different categories so that we can control what products are included for displaying purposes. It is our intent to eventually have the home page only show Motorola radios, category ID 309, the RCA page to show only RCA radios, category ID 310, and finally we will create another page to show different accessories based on their category IDs.

No code modifications have been made regarding any of this, so I hope you're able to mimic the behavior and neither suggest a fix or enter it as a bug for the next version to be rectified.

I apologize for the long post. There was a lot of information to express.

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

shaharyar  
#2 Posted : Thursday, March 16, 2023 7:44:31 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)
Quote:
You will see that it's displaying different products because the category ID is set to 0. If I set the category ID to anything else, nothing displays.


I am unable to reproduce the issue.

I have added the Featured Product widget to another page and set a category other than 0 which has few products marked as featured.
I then went to the Home page and added the same category Id and I can see the valid results.

Am I missing something?
Can you share the steps to reproduce the issue?

Thanks
ray22901031  
#3 Posted : Friday, March 17, 2023 12:41:47 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 830

Thanks: 3 times
Was thanked: 14 time(s) in 14 post(s)
Problem solved; sometimes, I just cannot see the trees because of the forest. I needed to enable on the products themselves to be able to preview in product feature list .
Users browsing this topic
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.