Forum Replies Created
- prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30736
I unchecked variations and reindexed, Still the filters are showing all ranges, Here is the code :
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30732I echoed the code, I was getting this, I have now changed that to _price_f, its a old code
Do, I need to turn on this _price in variations too ? I already enabled the _price in Products section
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30729I deleted and re-indexed all products and variation, still there is no change in price filter, its still showing all price ranges.
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30726Okay, I tried first 2 steps, It didnt worked. I didn’t understood the 3rd point, Save your product to re-index its price. Do I need to edit and save product ? or just by deleting and re indexing , this will be fixed?
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30724I added this code. For testing , I added a static value as 2000, when I print the array to see if the code is working, I can see the _price_str as 2000, but the facet filter still showing all price range, I am using integer type, to get checkbox with ranges option, I tried :
$document_for_update[‘_price_str’] = 2000, I also checked with [‘_price_i’] and [‘_price_s’], still the filters arent changing.
Also, checked with checkbox layout, prices arent reflecting.
Any settings, I missed out in data tab, for this to work ?
Can you pls advise.prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30722Can we use this code in functions.php or any specific file ?
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30719Okay, thanks..
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30717As this code is fetching lowest price, Can we set it to get the price from a specific variation every time, instead of calculating lowest price?
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30715yes, we have a variation called single, we want to index that only.
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30713Your solution is okay, but our requirement is a bit different. We are limited to show only the lowest variation and also the price filter, should work on the basis of that lowest variation (we have a variation name for this, which is same across all the product). Any fix for this ? Can we restrict the price filter not to index the prices outside of this variation ?
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Display prices of a particular variation in filter #30711I have a product which has variations in the range of 2000$ – 4000$, I am displaying the minimum variant price in search result, but as it falls into this range, if I select 2000-4000$ range, the item is showing up but the price of lowest variation is $2000.
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Sort by Price not working – ajax error #30702I deleted the data and re-indexed, now its working. Thank you
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Sort by Price not working – ajax error #30701Yes, we selected it and also indexed all data.
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Can we show content from specific acf field as search result excerpt? #30695Okay… got it
prakashreddy.imduriParticipant1 year, 8 months ago in reply to: Can we show content from specific acf field as search result excerpt? #30693I checked my pages, seems the same shortcode is still being used by this auto generated page