[Skip to main content](#vessel-content)

#   Is it possible to access the filters directly?

##

- **[Akdag](/forum/user/66581-akdag "View Akdag's Profile")**
- [![Akdag's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/66581-akdag "View Akdag's Profile") Topic Author
- [ Offline](/forum/user/66581-akdag)

Less More

- Posts: 13
- Thank you received: 2
-
-

4 years 3 months ago [\#343597](#343597) by [Akdag](/forum/user/66581-akdag "View Akdag's Profile")  *[Is it possible to access the filters directly?](/forum/45-filters-search/904797-is-it-possible-to-access-the-filters-directly#343597 "-- url of the page with the problem -- :   www.mygoldmucevherat.com.tr  -- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- Error-message(debug-mod must be tuned on) -- : Is it possible to access the filters directly?  Hi,  Is direct access to filters possible?  How can I access filters directly from outside the foreach with php?  For example $this-&gt;product-&gt;color Likewise $this-&gt;product-&gt;color&#91;value&#93; Is there such a use?  I will use this information to create a unique product demonstration for myself. The display of the product in each different category will be different.  Thanks.")* was created by *[Akdag](/forum/user/66581-akdag "View Akdag's Profile")*

-- url of the page with the problem -- : [ www.mygoldmucevherat.com.tr](https://www.mygoldmucevherat.com.tr)
-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.1.5
-- Error-message(debug-mod must be tuned on) -- : Is it possible to access the filters directly?

Hi,

Is direct access to filters possible?

How can I access filters directly from outside the foreach with php?

For example $this-&gt;product-&gt;color
Likewise $this-&gt;product-&gt;color[value]
Is there such a use?

I will use this information to create a unique product demonstration for myself. The display of the product in each different category will be different.

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDc5Ny1pcy1pdC1wb3NzaWJsZS10by1hY2Nlc3MtdGhlLWZpbHRlcnMtZGlyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

4 years 3 months ago [\#343614](#343614) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is it possible to access the filters directly?](/forum/45-filters-search/904797-is-it-possible-to-access-the-filters-directly#343614 "-- url of the page with the problem -- :   www.mygoldmucevherat.com.tr  -- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- Error-message(debug-mod must be tuned on) -- : Is it possible to access the filters directly?  Hi,  Is direct access to filters possible?  How can I access filters directly from outside the foreach with php?  For example $this-&gt;product-&gt;color Likewise $this-&gt;product-&gt;color&#91;value&#93; Is there such a use?  I will use this information to create a unique product demonstration for myself. The display of the product in each different category will be different.  Thanks.")*

Hi,

I'm not sure I'm following you.

Are you talking about customizing the listings of products ? Or the product details page ?
On the product details page the data of the product is in $this-&gt;element and the data of the product on the listing is in $this-&gt;row
Which view file to edit depends on what you want to change. You can see which view file is used where by activating the "Display view files" setting of the HikaShop configuration.

There is no "color" by default in HikaShop. How did you configure the "color" in HikaShop ? With a custom product field ? In that case, you should be able to access it with either $this-&gt;element-&gt;xxx or $this-&gt;row-&gt;xxx where xxx is the column name of the custom product field.

The following user(s) said Thank You: [Akdag](/forum/user/66581-akdag "View Akdag's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDc5Ny1pcy1pdC1wb3NzaWJsZS10by1hY2Nlc3MtdGhlLWZpbHRlcnMtZGlyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Akdag](/forum/user/66581-akdag "View Akdag's Profile")**
- [![Akdag's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/66581-akdag "View Akdag's Profile") Topic Author
- [ Offline](/forum/user/66581-akdag)

Less More

- Posts: 13
- Thank you received: 2
-
-

4 years 3 months ago [\#343629](#343629) by [Akdag](/forum/user/66581-akdag "View Akdag's Profile")  Replied by *[Akdag](/forum/user/66581-akdag "View Akdag's Profile")* on topic *[Is it possible to access the filters directly?](/forum/45-filters-search/904797-is-it-possible-to-access-the-filters-directly#343629 "-- url of the page with the problem -- :   www.mygoldmucevherat.com.tr  -- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- Error-message(debug-mod must be tuned on) -- : Is it possible to access the filters directly?  Hi,  Is direct access to filters possible?  How can I access filters directly from outside the foreach with php?  For example $this-&gt;product-&gt;color Likewise $this-&gt;product-&gt;color&#91;value&#93; Is there such a use?  I will use this information to create a unique product demonstration for myself. The display of the product in each different category will be different.  Thanks.")*

I want to access the features I created on the product detail page.

But these answers are enough for me.

Thank you so much.

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDc5Ny1pcy1pdC1wb3NzaWJsZS10by1hY2Nlc3MtdGhlLWZpbHRlcnMtZGlyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Akdag](/forum/user/66581-akdag "View Akdag's Profile")**
- [![Akdag's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/66581-akdag "View Akdag's Profile") Topic Author
- [ Offline](/forum/user/66581-akdag)

Less More

- Posts: 13
- Thank you received: 2
-
-

4 years 3 months ago [\#343858](#343858) by [Akdag](/forum/user/66581-akdag "View Akdag's Profile")  Replied by *[Akdag](/forum/user/66581-akdag "View Akdag's Profile")* on topic *[Is it possible to access the filters directly?](/forum/45-filters-search/904797-is-it-possible-to-access-the-filters-directly#343858 "-- url of the page with the problem -- :   www.mygoldmucevherat.com.tr  -- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- Error-message(debug-mod must be tuned on) -- : Is it possible to access the filters directly?  Hi,  Is direct access to filters possible?  How can I access filters directly from outside the foreach with php?  For example $this-&gt;product-&gt;color Likewise $this-&gt;product-&gt;color&#91;value&#93; Is there such a use?  I will use this information to create a unique product demonstration for myself. The display of the product in each different category will be different.  Thanks.")*

What I was trying to do was as in the attached picture. I did.
I have examined more than 50 e-commerce systems. They can't even come close to Hikashop ![:)](/media/kunena/emoticons/3.png ":)")

Hikashop's logic scenario is very, very good.

It would be nice if Hikashop made a selectable theme for the custom field section in future versions.

For example, for the custom field I created, it would be nice if I could simply type {product:color} or $this-&gt;color ... in the theme and change it.

It would be much nicer if this custom field theme could be chosen differently according to the category.  [ ![ozellikgoruntusu.jpg](/forum/attachment/55365) ](/forum/attachment/55365 "...kgoruntusu.jpg")

- [ ![ozellikgoruntusu.jpg](/forum/attachment/55365) ](/forum/attachment/55365 "...kgoruntusu.jpg") [ ](/forum/attachment/55365?download=1 "...kgoruntusu.jpg")

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDc5Ny1pcy1pdC1wb3NzaWJsZS10by1hY2Nlc3MtdGhlLWZpbHRlcnMtZGlyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.056 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
