m_ring2003 Posted August 11, 2006 Share Posted August 11, 2006 Hi, I'm trying to create a different infobox template. When I thought i had successfully gone to configure_bts.php to add the following, and create another box2.tpl.php, yes, it did show up on the website, however, when i go to the product page, try to add to cart, it went to the advanced search page, by right should goto shopping cart page. Can you guys advise me how to create a different infobox template? thanks. case 'boxes2': // small sideboxes if(is_file(DIR_WS_BOX_TEMPLATES . $box_base_name . '.tpl.php')) { // if exists, load unique box template for this box from templates/boxes/ $path = (DIR_WS_BOX_TEMPLATES . $box_base_name . '.tpl.php'); } elseif(is_file(DIR_WS_BOX_TEMPLATES_FALLBACK . $box_base_name . '.tpl.php')) { // if exists, load unique box template for this box from templates/boxes/ $path = (DIR_WS_BOX_TEMPLATES_FALLBACK . $box_base_name . '.tpl.php'); } elseif(is_file(DIR_WS_BOX_TEMPLATES . TEMPLATENAME_BOX2)) { // if exists, load unique box template for this box from templates/boxes/ $path = (DIR_WS_BOX_TEMPLATES . TEMPLATENAME_BOX2); } else { $path = (DIR_WS_BOX_TEMPLATES_FALLBACK . TEMPLATENAME_BOX2); } break; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.