CH 增加产品跟踪

hotfix/paypal-note
Jimmy Liow 2 years ago
parent 0b6b7a8228
commit 92a27718ad

@ -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@-->', $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@-->', $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@-->', $inquiry_form_template, $information->ic_content);
$breadcrumb_content = $this->load->view($template_path . '-breadcrumb', array('breadcrumb_data' => $breadcrumb_data), true);

Loading…
Cancel
Save