*

gs_ind

  • ***
  • 31 posts
Replacing - Check with Seller - with Contact Advertiser
« on: July 19, 2016, 04:12:53 PM »
Hello Frosticek,

I would like to change 'Check with seller' with 'Contact Advertiser'.
I tried to change it by translating po files but it didn't make any changes..
I found that making some changes to hItems.php or functions.php changed it.

hItems.php
Code: [Select]
function osc_format_price($price, $symbol = null)
{  if ($price === null) return osc_apply_filter ('item_price_null', __('Check with seller') );

to

function osc_format_price($price, $symbol = null)
{  if ($price === null) return osc_apply_filter ('item_price_null', __('Contact Advertiser') );

functions.php
Code: [Select]
function zara_premium_format_price($price, $symbol = null)
{  if ($price === null) return osc_apply_filter ('item_price_null', __('Check with seller', 'zara') );

 to

function zara_premium_format_price($price, $symbol = null)
{  if ($price === null) return osc_apply_filter ('item_price_null', __('Contact Advertiser', 'zara') );

What I would like to know is which file should I make the necessary change? should I change both? Or will I it cause any problems if I change it?
Your suggestion will be highly appreciated.

Thank you

*

MB Themes

Re: Replacing - Check with Seller - with Contact Advertiser
« Reply #1 on: July 19, 2016, 07:46:08 PM »
@gs_ind
We do not work in osclass core so cannot tell you what you should do, but if you modify translation file in all levels (core, theme, ...) using PO Edit, there should be no problem.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

gs_ind

  • ***
  • 31 posts
Re: Replacing - Check with Seller - with Contact Advertiser
« Reply #2 on: July 20, 2016, 06:24:23 AM »
@gs_ind
We do not work in osclass core so cannot tell you what you should do, but if you modify translation file in all levels (core, theme, ...) using PO Edit, there should be no problem.
Thanks for the tip.
Translated core.po
Everything solved
Thanks again.. :)

*

wifimasters

  • **
  • 18 posts
  • No pain, no gain!
Re: Replacing - Check with Seller - with Contact Advertiser
« Reply #3 on: August 18, 2017, 08:29:56 AM »
Hi, this suggestion works for me but on my premium listing in the category page I can still see the "Check with seller" message.

Please see attached and help advice again.

*

MB Themes

Re: Replacing - Check with Seller - with Contact Advertiser
« Reply #4 on: August 18, 2017, 09:29:45 AM »
You would need to modify hPremiums as well.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots