Programmingatkstark / Magento-2-Category-with-image-widget

12 stars 23 forks source link

Adding secondary level subcategory images #1

Open MarkSyred opened 6 years ago

MarkSyred commented 6 years ago

Hi there,

Thanks for your hard work producing this widget. We are using Magento 2.2.2. It installs and works without a problem.

However, when I click to select which categories to include, I am only offered those categories immediately below the root category. How would I go about making use of categories one level below them?

In case I've not explained very well, say I had a root category of Clothes with two sub categories of Men's and Women's. If Women's had a sub category of Shoes, how would I add that into the widget?

Any help you can provide with this would be much appreciated.

With kind regards,

Mark

kriswen commented 5 years ago

Hey mark, did you ever find a solution to your problem? I’m trying to use this extension for 2.2.6. Thanks in advance

MarkSyred commented 5 years ago

Hi @kriswen. Sadly not. We abandoned it. In the end, it was something the customer decided they didn't want anyway. Sorry about that, Mark

kriswen commented 5 years ago

ndo

Thanks, Mark. I'll have to find an alternative way to it. Thanks again.

Kris

HollandRisley commented 5 years ago

Hi @kriswen - did you manage to get the sub categories showing? I'm trying to get that working tonight too..

kriswen commented 5 years ago

@HollandRisley Unfortunately, No. However, the solution from here solve my issue. https://magento.stackexchange.com/questions/234838/magento2-show-subcategory-as-a-grid-with-images

kriswen commented 4 years ago

@SYPOMark @HollandRisley Happened to use this again. There is another way to get the sub categories showing. Just add the category image, reindex, then specify the category id in the widget short code. You can find the category id from admin panel ( Content -> Category page.)

For example, category 109 is the sub category, you can just add it to the list like below.

{{widget type="ProgrammingAtKstark\CatewithimgWidget\Block\Widget\CatewithimgWidget" blocktitle="testfeature" tagline="testfeaturetag" parentcat="41,30,38,50,53,109"}}