View Single Post
  #33  
Old 07-17-2012, 09:38 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart v4.5.1 released

No it doesn't work ok. Example - enter anything in admin/settings/seo/site title. Modify shipping estimator link on cart page found here

skin/common_files/customer/main/shipping_estimator.tpl

to read

Code:
{include file="customer/buttons/button.tpl" button_title=$btitle|default:$lng.lbl_estimate_shipping_cost href="javascript:popupOpen('popup_estimate_shipping.php','Estimate shipping cost');" style="link"}

Note the text in red which is the title of the popup window. Save. Add to cart, go to cart page and click on shipping estimator link. The popup window should have title "ESTIMATE SHIPPING COST" as defined in the link but instead that title shows for a split of a second and then it's replaced by the text entered in admin/settings/seo/site title. If there is nothing entered there then title is replaced by breadcrumps defined on that same admin seo page. And this happens because when parsing the template /skin/common_files/customer/service_head.tpl calls "get_title" smarty function which return default seo title or breadcrumps for ANY page other than product, category, manufacturer or static page. This bug is not fixed
__________________
Steve Stoyanov
CFLSystems.com
Web Development