on ‎2018 Feb 20 8:06 AM
Country specific means for a product there are different prices for different country depending on tax.
I have written valueProvider which creates indexes depending on country. For example: priceValue_it_eur_double: 10 priceValue_fr_eur_double: 12 priceValue_sp_eur_double: 13 priceValue_be_eur_double: 14
so Indexing part is done.
now How to show fetch that perticular value on storefront? current country and currency are stored in session.
Thanks in advance.
Request clarification before answering.
Hi Jalindar,
For the storefront (excluding product listing page - results returned from solr) you can simply use searchRestrictions - based on the country you have in session.
For solr built pages (PLP) - depending on your hybris version, create a custom implementation of FacetSearchListenerAdapter or SolrQueryPostProcessor - and add the required logic using the country held in session.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.