Osclass Support Forums
Osclass plugin support => Backoffice Manager Plugin => Topic started by: jcarrolo01 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
-
@jcarollo1
You can find redirects here:
oc-content/plugins/backoffice_manager/republish.php
//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());
}
}
}
-
Hello...
Thanks this will help allot...
Best regards