Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor angelleye

    (@angelleye)

    Right now you can only set price per word or price per character, and it would change accordingly.

    We do have plans to add hooks in the future so you can adjust that to what you want, but we don’t have any hooks in place at the moment. You could change it in the core code if you need to that badly, but that’s not recommend because when you update it will be overwritten.

    Thread Starter Steffo991

    (@steffo991)

    Okay, thanks for the reply.

    Where in the core code would I find it? I do need to make the change.

    Thread Starter Steffo991

    (@steffo991)

    Bump

    Plugin Contributor angelleye

    (@angelleye)

    I think we’re pulling that from the setting name. So, open the file /woocommerce-price-per-word/admin/partials/woocommerce-price-per-word-admin-settings.php and go t line 34. You’ll see it’s setting “Price Per Word” there. If you try changing that value I think that’s what will display on the front end.

    Please give that a shot and let me know if it works out for you.

    Thread Starter Steffo991

    (@steffo991)

    It didn’t work, unfortunately. I found the line and it looked like it would make sense, but nothing changed in my shop.

    I’ve been considering using a translation, but Poedit refuses to open the .pot-file that’s included in the plugin.

    Thread Starter Steffo991

    (@steffo991)

    22-04-2016 17:40:49: Couldn’t load file (…) is not a valid POT file.
    22-04-2016 17:40:49: Entries in the catalog are probably incorrect.

    Plugin Contributor angelleye

    (@angelleye)

    That’s odd. We’ll have to look into that and re-generate that I guess.

    That really should work if you changed it directly in code, though. Do you have any caching / CDN services running? Make sure you cleared those after making the change.

    Also, make sure you uploaded the file that was changed to the server. That’s easy to forget sometimes.

    Thread Starter Steffo991

    (@steffo991)

    It’s the right file and everything’s been cleared. Update is that my translation has gone through on the admin-side. So in my backend, it shows what I want it to show. But in the shop, still Price Per Word.

    Plugin Contributor angelleye

    (@angelleye)

    Ok, I’ve added this issue to our GitHub repo for the plugin. We’ll get to it as soon as we can.

    That said, this is one of our least popular plugins (only showing 30+ active installs right now), so it will be tough to make it a priority.

    If you’re interested in having that functionality made a priority we could do it, but we’d need to treat it as a custom project for you. If that’s something you’d like to discuss please contact us here.

    Plugin Contributor angelleye

    (@angelleye)

    We have resolved this issue in our GitHub repo and will be releasing our 1.2.0 update soon.

    I need to get documentation created for this, but you can see a sample of how to use a filter to set the verbiage to whatever you want.

    https://github.com/angelleye/woocommerce-price-per-word/issues/32

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Change "Price Per Word:" to something else’ is closed to new replies.