Attribute and Search Behaviour
Posted: 14 Jan 2016, 00:43
Hi to all and thank you to everyone who have contributed in this great work,
I have some final questions before finishing our project and i hope these info will help other users, too
1- We want the searh form to scan product codes as well. Is there any possibility for that?
2- I see that aimeos doesn't display more than 100 attribute items in the attribute filter. Is this something related to aimeos or ...?
3- Our website is using a general language selection tool via Typoscript such as;
DILSEC = HMENU
DILSEC {
special = language
special.value = 0,1
1 = TMENU
1 {
noBlur = 1
wrap = <ul>|</ul>
NO {
stdWrap.override = Türkçe || English
doNotLinkIt = 1
stdWrap.typolink.parameter.data = page:uid
stdWrap.typolink.additionalParams = &L=0 || &L=1
stdWrap.typolink.addQueryString = 1
stdWrap.typolink.addQueryString.exclude = L,id,cHash,no_cache
stdWrap.typolink.addQueryString.method = GET
stdWrap.typolink.useCacheHash = 1
stdWrap.typolink.no_cache = 0
stdWrap.typolink.title = Türkçe || English
wrapItemAndSub = <li class="Turkish">|</li> |*| <li class="">|</li> |*| <li class="English">|</li>
}
ACT < .NO
ACT = 1
ACT {
linkWrap = <span class="aktif"><img src="fileadmin/template/Resim/current.png" /></span>
stdWrap.typolink.ATagParams = class="linkaktif"
}
}
}
Its working very well on every page and extension. Its partly ok with aimes too. Only problem is that, in a product detail page it redirects to wrong product when changing the language (mostly, previously viewed product). Am i missing something?
4- In a cateogry, we are removing the attribute items which have no product assigned, also the attribute item which has been already selected in this way:
<script type="text/javascript">
jQuery(function($) {
$('.catalog-filter-attribute .disabled' ).remove();
$('.catalog-filter-attribute .checked' ).remove();
});
</script>
We can do that thanks to the behavour of aimeos adding ".disabled" class into the attribute items which have no product assigned. Can we add ".disabled" class into the attribute types whose attribute items have 0 product in total as well? So we can get rid of the attribute types which have no related product in a category.
I have some final questions before finishing our project and i hope these info will help other users, too
1- We want the searh form to scan product codes as well. Is there any possibility for that?
2- I see that aimeos doesn't display more than 100 attribute items in the attribute filter. Is this something related to aimeos or ...?
3- Our website is using a general language selection tool via Typoscript such as;
DILSEC = HMENU
DILSEC {
special = language
special.value = 0,1
1 = TMENU
1 {
noBlur = 1
wrap = <ul>|</ul>
NO {
stdWrap.override = Türkçe || English
doNotLinkIt = 1
stdWrap.typolink.parameter.data = page:uid
stdWrap.typolink.additionalParams = &L=0 || &L=1
stdWrap.typolink.addQueryString = 1
stdWrap.typolink.addQueryString.exclude = L,id,cHash,no_cache
stdWrap.typolink.addQueryString.method = GET
stdWrap.typolink.useCacheHash = 1
stdWrap.typolink.no_cache = 0
stdWrap.typolink.title = Türkçe || English
wrapItemAndSub = <li class="Turkish">|</li> |*| <li class="">|</li> |*| <li class="English">|</li>
}
ACT < .NO
ACT = 1
ACT {
linkWrap = <span class="aktif"><img src="fileadmin/template/Resim/current.png" /></span>
stdWrap.typolink.ATagParams = class="linkaktif"
}
}
}
Its working very well on every page and extension. Its partly ok with aimes too. Only problem is that, in a product detail page it redirects to wrong product when changing the language (mostly, previously viewed product). Am i missing something?
4- In a cateogry, we are removing the attribute items which have no product assigned, also the attribute item which has been already selected in this way:
<script type="text/javascript">
jQuery(function($) {
$('.catalog-filter-attribute .disabled' ).remove();
$('.catalog-filter-attribute .checked' ).remove();
});
</script>
We can do that thanks to the behavour of aimeos adding ".disabled" class into the attribute items which have no product assigned. Can we add ".disabled" class into the attribute types whose attribute items have 0 product in total as well? So we can get rid of the attribute types which have no related product in a category.