*

jcarrolo01

  • *****
  • 256 posts
Simple question about republish listings
« on: August 20, 2019, 09:59:44 PM »
Dear all...

When a email is received to republish the listing, when we press the republish link we are redirected to home page telling the listing was successfully republished, so far it ok....

The question i have is, when republish link its pressend on the received email it's possible to redirect to the listing page and not for Home page....



Best Regards






Marked as best answer by frosticek on August 22, 2019, 08:24:24 AM
*

MB Themes

Re: Simple question about republish listings
« Reply #1 on: August 21, 2019, 07:23:45 AM »
@jcarollo1
You can find redirects here:
oc-content/plugins/backoffice_manager/republish.php

Code: [Select]
//Send user to homepage or payment page with flash message
if($pay_per_post == 1 && $item_id <> '') {
  osc_add_flash_ok_message( __('There is fee for republishing listing. After payment is successful, your listing will be activated. Please continue to payment process.', 'backoffice_manager'));
  header('Location: ' . osc_route_url('payment-publish', array('itemId' => $item_id)));
} else {
  if($redirect == '') {
    if(osc_is_web_user_logged_in()) {
      header('Location: ' . osc_user_dashboard_url(osc_logged_user_id()));
    } else {
      header('Location: ' . osc_base_url());
    }
  }
}

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

jcarrolo01

  • *****
  • 256 posts
Re: Simple question about republish listings
« Reply #2 on: August 21, 2019, 10:50:15 AM »
Hello...

Thanks this will help allot...



Best regards