WPSolr logo
Search
Close this search box.

Forum Replies Created

  • pdbemail
    Participant
    4 years, 9 months ago in reply to: Price Comparison Use Case #12916

    Thank you for all your replies today, I will see if I can get this to work. Do you prefer to be contacted about work by email or Fivr as surely Fivr takes 20%?

    pdbemail
    Participant
    4 years, 9 months ago in reply to: Price Comparison Use Case #12914

    Thank you for your reply, this is making things more clear.

    $document_for_update[ 'my_field_name' . $solr_dynamic_type] = 'whatever';

    Is ‘whatever’ the variable I will have established by writing my own join function?
    Is ‘my_field_name’ a blank custom field added to the actual database once, then eligible to be written to by WPSolr? In the example you mention setting the field up in the interface screen 2.2.

    pdbemail
    Participant
    4 years, 9 months ago in reply to: Price Comparison Use Case #12910

    Ah that’s a good idea, do you have any old code snippets or examples anywhere of how to update a solarium document using an action hook. I understand how I can trigger a action hook, but I am unsure how to update the solarium document entity. Do you have info in this website or should I be looking at the Apache site.

    I am sorry for all the questions, but I would really like to use this plugin and the Solr tech.

    pdbemail
    Participant
    4 years, 9 months ago in reply to: Price Comparison Use Case #12871

    As your prices are in another custom table, you’ll just have to copy the price in each master product document just before it is sent to Elasticsearch/Solr.

    That sounds positive, but how would it be achieved? Do you mean add it to wp_postmeta?

    Sorry if I am not following you correctly

    Paul

Viewing 4 posts - 1 through 4 (of 4 total)