diff --git a/application/controllers/information.php b/application/controllers/information.php index 2a2560d5..1f9e1ef6 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -698,6 +698,7 @@ class Information extends CI_Controller $addthis_widget = $this->load->view($template_path . '-add-this', false, true); $template = str_replace('', $addthis_widget, $template); + $template = str_replace('?product_code=', '', $template); $article_structured_data_content = $this->load->view( $template_path . '-structured-data-article', @@ -716,7 +717,8 @@ class Information extends CI_Controller $info_page_form_content = $this->load->view($template_path . '-info-page-form', false, true); $information->ic_content = str_replace('', $info_page_form_content, $information->ic_content); } else { - $inquiry_form_template = $this->load->view($template_path . '-inquiry-form', array('meta_product_code' => $meta_product_code), true); + $inquiry_form_template = $this->load->view($template_path . '-inquiry-form', array('meta_product_code' => $meta_product_code), true); + $template = str_replace('?product_code=', '?product_code=' . $meta_product_code, $template); $information->ic_content = str_replace('', $inquiry_form_template, $information->ic_content); $breadcrumb_content = $this->load->view($template_path . '-breadcrumb', array('breadcrumb_data' => $breadcrumb_data), true);