hungryfrank Posted February 12, 2020 Share Posted February 12, 2020 how can I remove the model from the breadcrumb you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 12, 2020 Share Posted February 12, 2020 question would be why?.... but never mind. Go to public_html/includes/application_top.php at end of file around line 399 and change as required. // add the products model to the breadcrumb trail if (isset($_GET['products_id'])) { if ( defined('MODULE_HEADER_TAGS_PRODUCT_TITLE_SEO_BREADCRUMB_OVERRIDE') && (MODULE_HEADER_TAGS_PRODUCT_TITLE_SEO_BREADCRUMB_OVERRIDE == 'True') ) { $model_query = tep_db_query("select coalesce(NULLIF(pd.products_seo_title, ''), NULLIF(p.products_model, ''), pd.products_name) as products_model from products p, products_description pd where p.products_id = '" . (int)$_GET['products_id'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); } else { $model_query = tep_db_query("select coalesce(NULLIF(p.products_model, ''), pd.products_name) as products_model from products p, products_description pd where p.products_id = '" . (int)$_GET['products_id'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); } if (tep_db_num_rows($model_query)) { $model = tep_db_fetch_array($model_query); $breadcrumb->add($model['products_model'], tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'])); } } Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 12, 2020 Share Posted February 12, 2020 and you get..... Link to comment Share on other sites More sharing options...
puddlec Posted February 12, 2020 Share Posted February 12, 2020 you don't need to make any changes at all, if you put something in Products Title for SEO: and that admin -> modules -> header-tags -> product title -> SEO Breadcrumb Override? is set to true Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
hungryfrank Posted February 12, 2020 Author Share Posted February 12, 2020 if I was not planning to do any seo then It would com in handy. and I learned about hooks. you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.