Notice (8) : Undefined variable: locationMarkType [APP/Controller/AppController.php , line 1287 ]Code Context } else {
if ( $locationMarkType == DeliveryArea :: MAP ) {
if ( $this -> website -> user -> delivery_area == DeliveryArea :: ISLAND_WIDE ){ $event = object(Cake\Event\Event) {
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(App\Controller\WebsitesController) {}
[protected] _data => []
[protected] _stopped => false
}
$session = object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => '259200'
[protected] _isCLI => false
}
$loggedUserId = null
$loggedUserType = null
$referralCode = null
$httpHost = 'stgsite156.lakshop.lk'
$httpHostWithWWW = 'www.stgsite156.lakshop.lk'
$lakshopUrl = 'stg.lakshop.lk'
$isShopOwner = false
$websiteTable = object(App\Model\Table\WebsitesTable) {
'registryAlias' => 'Websites',
'table' => 'websites',
'alias' => 'Websites',
'entityClass' => 'App\Model\Entity\Website',
'associations' => [
(int) 0 => 'vendoravailabilities',
(int) 1 => 'shippingcostsdistricttodistricts',
(int) 2 => 'customtextmenus',
(int) 3 => 'templates',
(int) 4 => 'domainlinkqueue',
(int) 5 => 'websiterenewalemails',
(int) 6 => 'websiterenewals',
(int) 7 => 'businesses',
(int) 8 => 'users',
(int) 9 => 'enquiries',
(int) 10 => 'mainbanners',
(int) 11 => 'sidebanners',
(int) 12 => 'payments',
(int) 13 => 'products',
(int) 14 => 'vendorproducts',
(int) 15 => 'productcategories',
(int) 16 => 'productsubcategories',
(int) 17 => 'productsupersubcategories',
(int) 18 => 'services',
(int) 19 => 'vendorservices',
(int) 20 => 'servicecategories',
(int) 21 => 'servicesubcategories',
(int) 22 => 'portfolios',
(int) 23 => 'additionalsections',
(int) 24 => 'additionalsectionitems',
(int) 25 => 'testimonials',
(int) 26 => 'donations',
(int) 27 => 'cartitems',
(int) 28 => 'vendoraccounts',
(int) 29 => 'businesscategories',
(int) 30 => 'paymentmethods',
(int) 31 => 'todoitems',
(int) 32 => 'orders',
(int) 33 => 'websitearticles',
(int) 34 => 'customheader',
(int) 35 => 'customslider',
(int) 36 => 'paymentgateways',
(int) 37 => 'websitespaymentgateways',
(int) 38 => 'paymentservices',
(int) 39 => 'websitespaymentservices',
(int) 40 => 'supportpurchases',
(int) 41 => 'documents',
(int) 42 => 'modules',
(int) 43 => 'customerinvoiceitemtemplates',
(int) 44 => 'smscredits',
(int) 45 => 'smsreports',
(int) 46 => 'brands',
(int) 47 => 'productmodels',
(int) 48 => 'websitesettings',
(int) 49 => 'courierparams',
(int) 50 => 'donationamounts',
(int) 51 => 'clients',
(int) 52 => 'couriercompanies',
(int) 53 => 'features',
(int) 54 => 'pricings',
(int) 55 => 'websitescouriercompanies',
(int) 56 => 'websitesmodules'
],
'behaviors' => [
(int) 0 => 'Timestamp',
(int) 1 => 'Proffer'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$website = object(App\Model\Entity\Website) {
'id' => (int) 156,
'force_ssl' => (int) 0,
'domain_name' => 'stgsite156.lakshop.lk',
'domain_name_alias' => null,
'published' => (int) 1,
'payment_made' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true,
'id' => false,
'payment_made' => false,
'website_type' => false,
'domain_name' => false,
'domain_name_alias' => false,
'domain_dns_key' => false,
'domain_verified' => false,
'sample' => false,
'auto_login_code' => false,
'suspended' => false,
'sms_credit_id' => false,
'user_id' => false,
'expiry_date' => false,
'template_id' => false
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [
(int) 0 => 'logo_base_path',
(int) 1 => 'logo_prefixes',
(int) 2 => 'favicon_base_path',
(int) 3 => 'favicon_prefixes',
(int) 4 => 'main_image_base_path',
(int) 5 => 'main_image_prefixes',
(int) 6 => 'contact_bg_image_base_path',
(int) 7 => 'contact_bg_image_prefixes',
(int) 8 => 'is_discounted',
(int) 9 => 'website_theme_colour',
(int) 10 => 'website_domain'
],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Websites'
}
$websiteId = (int) 156
$autoLoginCode = null
$remberMeCode = null
$websiteSettingsModel = object(App\Model\Table\WebsiteSettingsTable) {
'registryAlias' => 'WebsiteSettings',
'table' => 'website_settings',
'alias' => 'WebsiteSettings',
'entityClass' => 'App\Model\Entity\WebsiteSetting',
'associations' => [
(int) 0 => 'websites'
],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$websiteSettings = object(App\Model\Entity\WebsiteSetting) {
'id' => (int) 23,
'website_id' => (int) 156,
'user_reg_sms_validation' => (int) 0,
'vendor_reg_method' => 'USERNAME',
'auto_activate_vendors' => (int) 0,
'auto_activate_customers' => (int) 1,
'auto_approve_vendors' => (int) 0,
'auto_approve_vendor_products' => (int) 0,
'pre_approve_vendors' => (int) 0,
'pre_approve_products' => (int) 0,
'vendor_bank_account_required' => (int) 1,
'buyers_can_register' => (int) 1,
'sellers_can_register' => (int) 0,
'courier_can_register' => (int) 0,
'product_based_owner_commission' => (int) 0,
'staff_members' => (int) 0,
'make_model_based_products' => (int) 1,
'show_custom_product_field_1_in_home' => (int) 0,
'show_custom_product_field_2_in_home' => (int) 0,
'show_custom_product_field_3_in_home' => (int) 0,
'single_shipping_location' => (int) 1,
'product_weight_is_important_to_show' => (int) 0,
'location_mark_type' => 'CITY',
'international_shipping' => (int) 0,
'usd_rate' => (float) 230,
'show_product_price_to_public' => (int) 1,
'customer_auto_activate' => (int) 1,
'show_order_id_qr_in_confirmation_email' => (int) 0,
'show_order_user_details_qr_in_confirmation_email' => (int) 0,
'contact_us_popup' => null,
'show_google_translate' => (int) 0,
'text_to_speech_product_desc' => (int) 0,
'show_lakshop_branding' => (int) 1,
'product_img_watermark_opacity' => null,
'subscriptions_enable' => (int) 0,
'append_blog_in_content_min' => (int) 0,
'append_gallery_in_content_min' => (int) 0,
'append_subscription_box_in_content_min' => (int) 0,
'append_featured_products_in_content_min' => (int) 0,
'show_sl_map_in_home' => (int) 0,
'[new]' => false,
'[accessible]' => [
'website_id' => true,
'user_reg_sms_validation' => true,
'website' => true,
'usd_rate' => true,
'contact_us_popup' => true,
'product_img_watermark_opacity' => true,
'subscriptions_enable' => true,
'append_blog_in_content_min' => true,
'append_gallery_in_content_min' => true,
'append_subscription_box_in_content_min' => true,
'append_featured_products_in_content_min' => true,
'show_sl_map_in_home' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'WebsiteSettings'
}
$deliveryAvailableDistricts = []
$buyerMarkedPoints = []
$buyerMapGridId = null
$buyerAddress = ',,'
$userCountryId = (int) 200
$visitorCityId = (int) 12
$visitorCountryId = (int) 200
$visitorDistrictId = (int) 1
$visitorPostCode = '00000' App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 1287
App\Controller\WebsitesController::beforeFilter() - APP/Controller/WebsitesController.php, line 55
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 416
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 393
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 110
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 502
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 114
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 108
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Warning (512) : Unable to emit headers. Headers sent in file=/home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=850 [CORE/src/Http/ResponseEmitter.php , line 48 ]Code Context if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
} else { $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your technical expert | Techno City</title>
<link href="/files/websites/favicon/ca275f2f-9978-4dfd-985e-6764c10e8955/small_fav.png" type="image/x-icon" rel="icon"/><link href="/files/websites/favicon/ca275f2f-9978-4dfd-985e-6764c10e8955/small_fav.png" type="image/x-icon" rel="shortcut icon"/>
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700" rel="stylesheet">
<link rel="stylesheet" href="/css/css/bootstrap.css"/> <link rel="stylesheet" href="/css/style.css"/>
<link rel="stylesheet" href="/css/css/dark.css"/> <link rel="stylesheet" href="/css/css/swiper.css"/> <link rel="stylesheet" href="/css/lakshop.css"/> <link rel="stylesheet" href="/css/lakshop_template_style.css"/> <link rel="stylesheet" href="/css/lakshop_template_ecom_style.css"/>
<link rel="stylesheet" href="/css/rateyo/jquery.rateyo.min.css"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.css" rel="stylesheet">
<!-- Coffee Demo Specific Stylesheet -->
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/fonts.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/font-icons.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/animate.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/magnific-popup.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/responsive.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/colors.php?color=0082FC"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/xzoom.css"/> <link rel="stylesheet" href="/css/css/jquery.dataTables.min.css"/> <link rel="stylesheet" href="/css/css/jquery.bt.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/store_box.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/store_box_min.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/techno_city.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/techno_city_min.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/sweet_house_min.css"/>
<link rel="stylesheet" href="/css/css/chosen.min.css"/> <link rel="stylesheet" type="text/css" href="/css/waitMe/waitMe.min.css">
<script src="/js/js/jquery.js"></script>
<script src="/js/bootstrap.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.js"></script>
<script src="/js/js/chosen.jquery.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/xzoom.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/jquery.hammer.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/magnific-popup.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/setup.js"></script>
<script src="/js/js/app.js"></script> <script src="/js/js/jquery.dataTables.min.js"></script> <script src="/js/js/jquery.bt.min.js"></script>
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:title" content="Techno City" />
<meta property="og:description" content="" />
<meta property="og:image" content="https://stgsite156.lakshop.lk/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="">
<meta property="twitter:title" content="Techno City">
<meta property="twitter:description" content="">
<meta property="twitter:image" content="https://stgsite156.lakshop.lk/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png">
<meta name="title" content="Your technical expert | Techno City">
<meta name="description" content="Your technical expert | Techno City">
<style type="text/css">
#header{
background:#0082FC !important;
}
#header.sticky-header #header-wrap{
background:#0082FC !important;
}
#welcome-row{
background:#FED501 !important;
color:#fff;
}
#welcome-row a{
color:#fff !important;
}
#copyrights{
background:#FED501 !important;
color:#fff;
}
.top-cart-trigger span {
border: 1px solid #FED501 !important;
background: #FED501 !important;
color: #fff;
}
#top-cart .top-cart-content{
border-top: 2px solid #0082FC !important;
}
#product-category-row ul.list-inline li{
color:#0082FC }
.breadcrumbs ul li a:current-page{
color:#0082FC }
#item-single-content .item-cart-count{
background: #FED501 !important;
}
.top-cart-trigger span{
border: 1px solid #0082FC;
background: #0082FC;
color:#fff;
}
.top-cart-action a.fleft{
background: #0082FC !important;
}
#top-cart-total {
color: #0082FC !important;
}
.button-red, .button-red:hover {
background-color: #FED501 !important;
}
.button-3d.button-red:hover, .button-reveal.button-red:hover, .button-border.button-red:hover, .button-border.button-red.button-fill:before{
background-color: #FED501 !important;
}
/* #inform-checkout{
background: #0082FC !important;
} */
.product-thumb-box .item-cart-count{
background: #FED501 !important;
}
.widget-filter-links li.active-filter span{
background: #FED501 !important;
}
.top-cart-action span.top-checkout-price {
color: #0082FC !important;
float:right !important;
}
.top-cart-action .button.btn-primary{
background: #FED501 !important;
}
.top-cart-action .button.btn-success{
background: #0082FC !important;
}
.btn-primary:hover{
background: #FED501 !important;
}
.product-price ins{
color: #0082FC !important;
}
.gray-text a{
color:#FED501 !important;
}
.flash-updte-cart-msg p{
color:#FED501 !important;
}
#item-single-content .discounted-price, #item-single-content .normal-price{
color:#0082FC !important;
}
.top-cart-item-desc span.top-cart-item-price{
color: #0082FC !important;
}
</style>
</head>
<body class="stretched">
<style type="text/css">
.sample-inform-div{
text-align: center;
padding: 10px 0;
background: #333;
color: #fff;
}
.sample-inform-div a{
color:#fff;
font-weight:bold;
}
</style>
<div class="sample-inform-div">
This website is a sample website made from the <a href="https://stg.lakshop.lk" target="_blank">Site Maker</a> platform; create your own stunning site today with <a href="https://stg.lakshop.lk" target="_blank">Site Maker</a>!
</div>
<!-- Custom CSS -->
<style type="text/css">
</style>
<div id="wrapper" class="clearfix">
<script src="/js/js/typeahead.js"></script><link rel="stylesheet" href="/css/css/search_box.css"/>
<header id="header" class="full-header header-common-backend">
<div id="header-wrap">
<div class="container">
<div id="primary-menu-trigger"><i class="icon-reorder"></i></div>
<!-- Logo
============================================= -->
<div id="logo">
<a href="/" class="standard-logo"><img src="/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png" alt=""/></a>
<a href="/" class="retina-logo"><img src="/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/small_logo.png" alt=""/></a> </div>
<!-- Primary Navigation
============================================= -->
<nav id="primary-menu">
<ul>
<li class="hidden"><a href="/#section-about-us" data-scrollto="#section-about-us"><div>About</div></a></li>
<li class=""><a href="/shop">Shop</a></li>
<li class="hidden"><a href="/#section-testimonials" data-scrollto="#section-testimonials"><div>Testimonial</div></a></li>
<li class="hidden-lg"><a href="/#section-contact-us" data-scrollto="#section-contact-us"><div>Contact Us</div></a></li>
<li>
<a href="/login">Login/Register</a> </li>
</ul>
<div style="display:inline-block;margin-top:15px;max-width:250px;" id="search-div">
<form method="post" accept-charset="utf-8" id="form-search-item" action="/buyer-terms-and-conditions"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="input-group">
<span class="input-group-addon" style="padding:2px 5px 2px 10px;background:#fff;border-right:0;border-top-left-radius: 18px;border-bottom-left-radius: 18px;">
<button type="submit" class="btn btn-default" style="padding:0;border-color:#fff;"><i class="icon-search"></i></button>
</span>
<div class="input text"><input type="text" name="search_text" placeholder="search anything" class="typeahead input-group-field form-control search-box-middle" style="min-width:50px !important;border-right:0;border-left:0;" id="search-text"/></div>
<span class="input-group-addon" style="padding:2px 10px 2px 5px;background:#fff;border-left:0;border-top-right-radius: 18px;border-bottom-right-radius: 18px;">
<a href="#" class="clear-search">X</a>
</span>
<input type="hidden" name="search_text_value" id="search-text-value"/> </div>
</form> </div>
<div id="inform-checkout" style="display:none;">
<span><a href="/checkout">Checkout</a></span> or <span id="skip-inform-checkout"><a href="#">Continue shopping</a></span>
</div>
<div id="delivery-not-supported" style="display:none;">
Some vendors not support delivery to your location <span id="modify-cart-dns"><a href="/view-cart">Modify my cart</a></span>
</div>
<!-- Top Cart
============================================= -->
<div id="top-cart" class="top-cart top-cart-element">
<div id="top-cart-trigger" class="top-cart-trigger">
<i class="icon-shopping-cart"></i>
<span>0</span>
</div>
<div class="top-cart-content">
<div class="top-cart-title">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8 colxs-6">
<h4>My Cart</h4>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 colxs-6">
<div class="text-right">
<div style="color:#333;font-weight:bold;" id = 'close-top-cart' class ='close-top-cart'>X</div>
</div>
</div>
</div>
</div>
<div class="top-cart-items" id="cart">
</div>
<div class="top-cart-action clearfix">
<span class="fleft top-checkout-price">Rs. <span id="top-cart-total">0.00</span></span>
</div>
<div class="top-cart-action clearfix">
<a href="/view-cart" class="button button-3d button-small nomargin fleft btn btn-primary btn-sm">View Cart</a> <a href="/checkout" class="button-black button button-3d button-small nomargin fright btn btn-success btn-sm">Checkout</a> </div>
</div>
</div><!-- #top-cart end -->
</nav><!-- #primary-menu end -->
</div>
<div id="welcome-row">
<span class="hidden-xs pull-left">Welcome </span>
<span class="text-left pull-left" style="display:inline-block;">
Guest (<a href="/login">Login</a>) </span>
<span class="text-left pull-left hidden-xs" style="margin-left:5px;">Your location :
-
</span>
<div class="text-right pull-right" style="display:inline-block;">
<br>
</div>
</div>
</div>
</header>
<script type="text/javascript">
var summernoteSettings = {
toolbar: [
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['cleaner',['cleaner']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['color','fontname','strikethrough']],
['fontsize', ['fontsize']],
['para', ['ul', 'ol', 'paragraph']],
['table',['table']],
['insert',['picture','hr','link']],
['view',['codeview']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
var summernoteSettingsWithImage = {
toolbar: [
['cleaner',['cleaner']],
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['color','fontname','fontsize','strikethrough']],
['para', ['ul', 'ol', 'paragraph']],
['table',['table']],
['insert',['picture','hr','link']],
['view',['codeview']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
var summernoteMinimal = {
toolbar: [
['cleaner',['cleaner']],
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['fontsize','strikethrough']],
['para', ['ul', 'ol', 'paragraph']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
// $(function(){
// $.extend($.summernote.plugins, {
// 'brenter': function (context) {
// this.events = {
// 'summernote.enter': function (we, e) {
// e.trigger($.Event("keydown", {
// keyCode: 13, // ENTER
// shiftKey: true
// }));
// e.preventDefault();
// }
// };
// }
// });
// });
/*,
cleaner:{
action: 'both',
newline: '<br>',
icon: '<i class="note-icon">[Your Button]</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>'],
keepClasses: false,
badTags: ['style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}*/
</script>
<div class="container">
</div>
<div class="content-wrap">
<div class="container">
</div>
<section class="content article article-page article- speakMe" id="staff">
<div class="container">
</div>
</div>
</div>
<div style="height:0px; overflow: visible;">
</div>
<div class="container text-center" id="payment-delivery-partner-section">
<div class="payment-partners">
<style type="text/css">
#supporting-payment-services li {
display : inline-block;
}
</style>
</div>
<div class="delivery-partners">
</div>
</div>
<footer id="footer" class="dark">
<div class="container">
<!-- Footer Widgets
============================================= -->
<div class="footer-widgets-wrap clearfix">
<div class="col_one_third">
<div class="widget clearfix">
<div>
<address>
<strong>Address:</strong><br>
11/2A, Abhayarama Lane, Narahenpita, Colombo 05 </address>
<strong>Call Us:</strong><br>
Tel : 0716351084<br/>Mob : 0716351084<br/>
<strong>Email Us:</strong><br>
technocity@css.lk
<br/>
<div class="social-media-links" style="display:inline-flex;">
<!-- FB Link -->
<div style="margin-right:5px;">
<a href="https://www.facebook.com/lakshop.lk" alt="Our Facebook page" title="Visit our Facebook page" target="_blank"><img src="/img/fb_small.png" alt=""/></a></div>
<div style="margin-right:5px;">
<a href="https://www.instagram.com/" alt="Our Instagram page" title="Visit our Instagram page" target="_blank"><img src="/img/instagram_small.png" alt=""/></a></div>
<div style="margin-right:5px;">
<a href="https://lk.linkedin.com/" alt="Our LinkedIn page" title="Visit our LinkedIn page" target="_blank"><img src="/img/linkedin_small.png" alt=""/></a></div>
</div>
<div class="clearfix visible-sm visible-xs"><br/></div>
</div>
<div style="margin-top:20px;">
<a href="/buyer-terms-and-conditions">Terms and Conditions</a> </div>
</div>
</div>
<div class="col_one_third">
<div class="widget clearfix">
<div id="fb-root"></div>
<script type="text/javascript">
console.log("FB WIDGET");
$(window).ready(function(){
setTimeout(function(){
$('body').append('<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v4.0&autoLogAppEvents=1">\<\/script>');
},1000);
});
</script>
<div class="fb-page" data-href="https://www.facebook.com/lakshop.lk/" data-adapt-container-width="true" data-tabs="timeline" data-width="" data-height="250" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/lakshop.lk/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/lakshop.lk/">Techno City</a></blockquote></div>
</div>
</div>
<div class="col_one_third col_last">
<div class="widget clearfix">
<style type="text/css">
#map {
width:100%;
height:250px;
min-height: 250px;
background: url('/files/websites/location/map.jpg') center center;
display: inline-block;
background-size:cover;
}
</style>
<a target="_blank" href="https://maps.google.com/?q=6.89597416,79.87513733">
<div id="map" style=""></div>
</a>
</div>
</div>
</div><!-- .footer-widgets-wrap end -->
</div>
<!-- Copyrights
============================================= -->
<div id="copyrights" style="padding:5px 0; color:#fff; background:#0082FC">
<div class="container">
<div class="col_full text-center" style="margin-bottom:0px;">
Techno City<span style="color:#C5C5C5;"> © 2026 All rights reserved </span> | <span id="powered-by-text"><span style="color:#C5C5C5;">Powered by </span><a href="https://lakshop.lk/" style="color:#fff;" target="_blank" class="powered-by-link">LakSHOP website builder</a></span> </div>
</div>
</div>
</footer>
</div>
<div id="gotoTop" class="icon-line-arrow-up"></div>
<script src="/js/js/plugins.js"></script>
<script src="/js/js/functions.js"></script>
<script src="/js/js/jquery-ui.js"></script>
<script src="/js/js/add_to_cart.js"></script> <script src="/js/js/remove_from_cart.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#form-search-item').on('keyup keypress', function(e) {
var keyCode = e.keyCode || e.which;
if (keyCode === 13) {
e.preventDefault();
return false;
}
});
$('#search-text').typeahead({
source: function (query, result) {
$('#search-text-value').val(query);
$.ajax({
url: '/products/findItem',
data: 'query=' + query,
dataType: "json",
type: "POST",
display: 'name',
success: function (data) {
var retStr = '';
result($.map(data, function (item) {
if(item.type == 'product_sub_category'){
retStr = '<div class="search-result cat-result" data-pc-id="'+item.pc_id+'" data-psc-id="'+item.psc_id+'" data-pssc-id="">';
retStr += '<span class="cat-search-result" style="background:#E9E9E9;">'+item.pc_name+'</span>';
retStr += ' -> '+'<a href="#" class="cat-search-result" style="background:#E2EEED;padding:2px 3px !important;">'+item.psc_name+'</a>';
retStr += '</div>';
}
if(item.type == 'product_category'){
retStr = '<div class="search-result cat-result" data-pc-id="'+item.pc_id+'" data-psc-id="" data-pssc-id="">';
retStr += '<a href="#" class="cat-search-result" style="background:#E9E9E9;padding:2px 3px !important;">'+item.pc_name+'</a>';
retStr += '</div>';
}
if(item.type == 'product'){
retStr = '<div id="'+item.href+'" class="search-result" data-pc-id="">'+item.name+'</div>';
}
return retStr;
}));
if($('.typeahead.dropdown-menu').length > 0){
// $('.typeahead.dropdown-menu').append('<li class="view-all" style="text-align:center;border-top:1px solid #efefef;"><a href="#" class="red-text" style="font-weight:bold;letter-spacing:1px;">View All</a></li>');
}
}
});
}
}).on('keydown', function(e) {
if (e.which == 13) {
if($('#form-search-item ul.typeahead').length > 0){
$('#form-search-item ul.typeahead li:first-child div').trigger('click');
}
else{
visitSearchResultPage();
}
}
});
});
function visitSearchResultPage(){
searchedText = $('#search-text-value').val();
window.location.href = '/products/search-result/'+searchedText;
}
$(document).ready(function(){
$('body').on('click','.view-all',function(e){
visitSearchResultPage();
e.preventDefault();
});
$('#form-search-item').submit(function(e){
visitSearchResultPage();
e.preventDefault();
});
$('body').on('click','.clear-search',function(e){
$('#search-text-value').val('');
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
return false;
});
$('body').on('click','#form-search-item ul.typeahead li div',function(e){
var pcId = $(this).attr('data-pc-id');
var pscId = $(this).attr('data-psc-id');
var psscId = $(this).attr('data-pssc-id');
if(pcId == ''){ //we are clicking on a product
var itemId = $(this).attr('id');
var itemName = $(this).text();
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val(itemName);
var formAction = '/websites/item-detail/product/'+itemId;
window.location.href = formAction;
}
else{
var dataPcFilterName = 'pc='+pcId;
var dataPscFilterName = (pscId != '' && pscId != undefined) ? 'psc='+pscId : '';
var dataPsscFilterName = (psscId != '' && psscId != undefined) ? 'pssc='+psscId : '';
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
var redirectLinkArray = [];
if (dataPcFilterName != "") {
redirectLinkArray.push(dataPcFilterName);
}
if (dataPscFilterName != "") {
redirectLinkArray.push(dataPscFilterName);
}
if (dataPsscFilterName != "") {
redirectLinkArray.push(dataPsscFilterName);
}
var redirectLink = redirectLinkArray.join("&");
window.location = '/shop/?'+redirectLink;
}
return false;
});
$('body').on('click','#form-search-item ul.typeahead li',function(e){
//~ console.log('click li');
if($(this).hasClass('view-all')){
$('.view-all').trigger('click');
}
else{
var pcId = $(this).find('div').attr('data-pc-id');
if(pcId == ''){ //we are clicking on a product
var itemId = $(this).find('div').attr('id');
var itemName = $(this).find('div').text();
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val(itemName);
var formAction = '/websites/item-detail/product/'+itemId;
window.location.href = formAction
}
else{
var dataPcFilerName = 'pc-'+pcId;
var pscId = $(this).find('div').attr('data-psc-id');
var dataPscFilerName = (pscId != '') ? 'psc-'+pscId : '';
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
if(dataPscFilerName == ''){
var formAction = 'https://stgsite156.lakshop.lk/?dataPc='+dataPcFilerName;
window.location.href = formAction;
}
else{
var formAction = 'https://stgsite156.lakshop.lk/?dataPc='+dataPcFilerName+'&dataPsc='+dataPscFilerName;
window.location.href = formAction;
}
}
}
return false;
});
$('body').on('keydown','#form-search-item ul.typeahead li',function(e){
if (e.keyCode == 13){
e.preventDefault();
return false;
}
});
});
</script>
<script src="/js/rateyo/jquery.rateyo.min.js"></script> <script src="/js/js/waitMe.min.js"></script> <script type="text/javascript">
$('#close-top-cart').click(function(e){
$('#top-cart').removeClass('top-cart-open');
});
var currentController = 'websites';
var currentAction = 'buyertermsandconditions';
console.log('currentController ='+currentController+' currentAction='+currentAction);
if(!(currentController == 'cartitems' && currentAction=='viewcart')){
if('0' > 0){
$('#delivery-not-supported').slideDown('slow');
}
}
</script>
<script type="text/javascript">
</script>
<style type="text/css">
/* The Modal (background) */
.location-model {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: hidden; /* Enable scroll if needed */
background-color: rgba(255,255,255,0.95); /* Black w/ opacity */
}
/* Modal Content/Box */
.location-modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
width: 80%; /* Could be more or less, depending on screen size */
}
/* The Close Button */
.location-model-close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
width:auto;
}
.location-model-close:hover,
.location-model-close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.location-modal-content h4 {
color: #000;
}
#btn-set-location-invoke {
position: fixed;
bottom:0px;
right:0px;
z-index: 10000;
}
</style>
<!-- Trigger/Open The Modal -->
<div id="location-set-model" class="location-model">
<!-- Modal content -->
<div class="location-modal-content">
<div class="clearfix">
<h4>Please select your district and the city<span class="location-model-close">×</span></h4>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col col-12 col-sm-4 location-set-district">
<div class="input select"><label for="district-id">District</label><select name="district_id" class="form-control" id="district-id"><option value="9">Ampara</option><option value="14">Anuradhapura</option><option value="23">Badulla</option><option value="7">Batticaloa</option><option value="1" selected="selected">Colombo</option><option value="20">Galle</option><option value="2">Gampaha</option><option value="22">Hambantota</option><option value="10">Jaffna</option><option value="3">Kalutara</option><option value="4">Kandy</option><option value="19">Kegalle</option><option value="25">Kilinochchi</option><option value="16">Kurunegala</option><option value="11">Mannar</option><option value="5">Matale</option><option value="21">Matara</option><option value="24">Moneragala</option><option value="12">Mullaitivu</option><option value="6">Nuwaraeliya</option><option value="15">Polonnaruwa</option><option value="17">Puttalam</option><option value="18">Ratnapura</option><option value="8">Trincomalee</option><option value="13">Vavuniya</option></select></div> </div>
<div class="col col-12 col-sm-4 location-set-city">
<div class="input select"><label for="city-id">City</label><select name="city_id" class="form-control" id="city-id"></select></div> </div>
</div>
<hr>
<div class="row">
<button class="btn btn-success btn-block form-control button" id="btn-set-location" type="submit">Update</button> </div>
</div>
</div>
<script type="text/javascript">
// Get the modal
var locationSettingModel = document.getElementById("location-set-model");
// Get the button that opens the modal
var btnSetLocationInvoke = document.getElementById("btn-set-location-invoke");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("location-model-close")[0];
if (btnSetLocationInvoke != undefined){
// When the user clicks on the button, open the modal
btnSetLocationInvoke.onclick = function() {
showLocationSettingDialog();
}
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
hideLocationSettingDialog();
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == locationSettingModel) {
hideLocationSettingDialog();
}
}
function showLocationSettingDialog(){
locationSettingModel.style.display = "block";
$('body').css('overflow','hidden');
// setTimeout( function(){
$('#location-set-model #district-id').val('1');
$('#location-set-model #district-id').trigger('change');
// }, 500);
$('#location-set-model #country-id').trigger('change');
$('.location-modal-content #country-id').chosen();
}
function hideLocationSettingDialog(){
locationSettingModel.style.display = "none";
$('body').css('overflow','auto');
}
$('#btn-set-location').click(function(){
$('body').waitMe();
/* For guests, set a session. For others, update user's profile */
var countryId = $('#location-set-model #country-id').val();
var districtId = $('#location-set-model #district-id').val();
var cityId = $('#location-set-model #city-id').val();
var postCode = $('#location-set-model #post-code').val();
console.log(countryId,districtId,cityId );
$.ajax({
type : 'POST',
url : '/users/set-district-city',
data : 'country_id='+countryId+'&district_id='+districtId+"&city_id="+cityId+'&post_code='+postCode,
success : function(message){
hideLocationSettingDialog();
if (message == 'success'){
location.reload();
} else {
alert ("Error occurred. Please try again.");
}
},
error : function(){
hideLocationSettingDialog();
}
});
});
$('#location-set-model #country-id').change(function(){
$('#location-set-model .location-set-district, #location-set-model .location-set-city, #location-set-model .location-set-postcode').hide();
var selCountry = $(this).val();
if (selCountry == '200'){
$('#location-set-model .location-set-district, #location-set-model .location-set-city').show();
} else {
$('#location-set-model .location-set-district, #location-set-model .location-set-city').hide();
$('#location-set-model .location-set-postcode').show();
}
});
</script>
<script src="/js/common/district_city_filter.js"></script>
<script type="text/javascript">
//to get sub categories based on categories
$("select#products-0-district-id").change(function(){
console.log('Triggering district change function');
var selectedDistrictId = $(this).val();
console.log("selected district id ", selectedDistrictId);
var cities = getCityOptionsFromDistrictId(selectedDistrictId);
console.log("GOT CITIES",cities);
$('#products-0-city-id, #edit-form #products-0-city-id').html(cities);
$("select#products-0-city-id").trigger("chosen:updated");
});
$("select#district-id").change(function(){
console.log('Triggering district change function');
var selectedDistrictId = $(this).val();
console.log("selected district id ", selectedDistrictId);
var cities = getCityOptionsFromDistrictId(selectedDistrictId);
console.log("GOT CITIES",cities);
$('#city-id').html(cities);
});
</script>
<script type="text/javascript">
$(function(){
// $('.location-modal-content #country-id').chosen();
});
</script>
</body>
</html>
'
}
$maxBufferLength = (int) 8192
$file = '/home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 850
$message = 'Unable to emit headers. Headers sent in file=/home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=850' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 47 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php , line 148 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
)); $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your technical expert | Techno City</title>
<link href="/files/websites/favicon/ca275f2f-9978-4dfd-985e-6764c10e8955/small_fav.png" type="image/x-icon" rel="icon"/><link href="/files/websites/favicon/ca275f2f-9978-4dfd-985e-6764c10e8955/small_fav.png" type="image/x-icon" rel="shortcut icon"/>
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700" rel="stylesheet">
<link rel="stylesheet" href="/css/css/bootstrap.css"/> <link rel="stylesheet" href="/css/style.css"/>
<link rel="stylesheet" href="/css/css/dark.css"/> <link rel="stylesheet" href="/css/css/swiper.css"/> <link rel="stylesheet" href="/css/lakshop.css"/> <link rel="stylesheet" href="/css/lakshop_template_style.css"/> <link rel="stylesheet" href="/css/lakshop_template_ecom_style.css"/>
<link rel="stylesheet" href="/css/rateyo/jquery.rateyo.min.css"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.css" rel="stylesheet">
<!-- Coffee Demo Specific Stylesheet -->
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/fonts.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/font-icons.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/animate.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/magnific-popup.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/responsive.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/colors.php?color=0082FC"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/xzoom.css"/> <link rel="stylesheet" href="/css/css/jquery.dataTables.min.css"/> <link rel="stylesheet" href="/css/css/jquery.bt.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/store_box.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/store_box_min.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/techno_city.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/techno_city_min.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/sweet_house_min.css"/>
<link rel="stylesheet" href="/css/css/chosen.min.css"/> <link rel="stylesheet" type="text/css" href="/css/waitMe/waitMe.min.css">
<script src="/js/js/jquery.js"></script>
<script src="/js/bootstrap.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.js"></script>
<script src="/js/js/chosen.jquery.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/xzoom.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/jquery.hammer.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/magnific-popup.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/setup.js"></script>
<script src="/js/js/app.js"></script> <script src="/js/js/jquery.dataTables.min.js"></script> <script src="/js/js/jquery.bt.min.js"></script>
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:title" content="Techno City" />
<meta property="og:description" content="" />
<meta property="og:image" content="https://stgsite156.lakshop.lk/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="">
<meta property="twitter:title" content="Techno City">
<meta property="twitter:description" content="">
<meta property="twitter:image" content="https://stgsite156.lakshop.lk/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png">
<meta name="title" content="Your technical expert | Techno City">
<meta name="description" content="Your technical expert | Techno City">
<style type="text/css">
#header{
background:#0082FC !important;
}
#header.sticky-header #header-wrap{
background:#0082FC !important;
}
#welcome-row{
background:#FED501 !important;
color:#fff;
}
#welcome-row a{
color:#fff !important;
}
#copyrights{
background:#FED501 !important;
color:#fff;
}
.top-cart-trigger span {
border: 1px solid #FED501 !important;
background: #FED501 !important;
color: #fff;
}
#top-cart .top-cart-content{
border-top: 2px solid #0082FC !important;
}
#product-category-row ul.list-inline li{
color:#0082FC }
.breadcrumbs ul li a:current-page{
color:#0082FC }
#item-single-content .item-cart-count{
background: #FED501 !important;
}
.top-cart-trigger span{
border: 1px solid #0082FC;
background: #0082FC;
color:#fff;
}
.top-cart-action a.fleft{
background: #0082FC !important;
}
#top-cart-total {
color: #0082FC !important;
}
.button-red, .button-red:hover {
background-color: #FED501 !important;
}
.button-3d.button-red:hover, .button-reveal.button-red:hover, .button-border.button-red:hover, .button-border.button-red.button-fill:before{
background-color: #FED501 !important;
}
/* #inform-checkout{
background: #0082FC !important;
} */
.product-thumb-box .item-cart-count{
background: #FED501 !important;
}
.widget-filter-links li.active-filter span{
background: #FED501 !important;
}
.top-cart-action span.top-checkout-price {
color: #0082FC !important;
float:right !important;
}
.top-cart-action .button.btn-primary{
background: #FED501 !important;
}
.top-cart-action .button.btn-success{
background: #0082FC !important;
}
.btn-primary:hover{
background: #FED501 !important;
}
.product-price ins{
color: #0082FC !important;
}
.gray-text a{
color:#FED501 !important;
}
.flash-updte-cart-msg p{
color:#FED501 !important;
}
#item-single-content .discounted-price, #item-single-content .normal-price{
color:#0082FC !important;
}
.top-cart-item-desc span.top-cart-item-price{
color: #0082FC !important;
}
</style>
</head>
<body class="stretched">
<style type="text/css">
.sample-inform-div{
text-align: center;
padding: 10px 0;
background: #333;
color: #fff;
}
.sample-inform-div a{
color:#fff;
font-weight:bold;
}
</style>
<div class="sample-inform-div">
This website is a sample website made from the <a href="https://stg.lakshop.lk" target="_blank">Site Maker</a> platform; create your own stunning site today with <a href="https://stg.lakshop.lk" target="_blank">Site Maker</a>!
</div>
<!-- Custom CSS -->
<style type="text/css">
</style>
<div id="wrapper" class="clearfix">
<script src="/js/js/typeahead.js"></script><link rel="stylesheet" href="/css/css/search_box.css"/>
<header id="header" class="full-header header-common-backend">
<div id="header-wrap">
<div class="container">
<div id="primary-menu-trigger"><i class="icon-reorder"></i></div>
<!-- Logo
============================================= -->
<div id="logo">
<a href="/" class="standard-logo"><img src="/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png" alt=""/></a>
<a href="/" class="retina-logo"><img src="/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/small_logo.png" alt=""/></a> </div>
<!-- Primary Navigation
============================================= -->
<nav id="primary-menu">
<ul>
<li class="hidden"><a href="/#section-about-us" data-scrollto="#section-about-us"><div>About</div></a></li>
<li class=""><a href="/shop">Shop</a></li>
<li class="hidden"><a href="/#section-testimonials" data-scrollto="#section-testimonials"><div>Testimonial</div></a></li>
<li class="hidden-lg"><a href="/#section-contact-us" data-scrollto="#section-contact-us"><div>Contact Us</div></a></li>
<li>
<a href="/login">Login/Register</a> </li>
</ul>
<div style="display:inline-block;margin-top:15px;max-width:250px;" id="search-div">
<form method="post" accept-charset="utf-8" id="form-search-item" action="/buyer-terms-and-conditions"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="input-group">
<span class="input-group-addon" style="padding:2px 5px 2px 10px;background:#fff;border-right:0;border-top-left-radius: 18px;border-bottom-left-radius: 18px;">
<button type="submit" class="btn btn-default" style="padding:0;border-color:#fff;"><i class="icon-search"></i></button>
</span>
<div class="input text"><input type="text" name="search_text" placeholder="search anything" class="typeahead input-group-field form-control search-box-middle" style="min-width:50px !important;border-right:0;border-left:0;" id="search-text"/></div>
<span class="input-group-addon" style="padding:2px 10px 2px 5px;background:#fff;border-left:0;border-top-right-radius: 18px;border-bottom-right-radius: 18px;">
<a href="#" class="clear-search">X</a>
</span>
<input type="hidden" name="search_text_value" id="search-text-value"/> </div>
</form> </div>
<div id="inform-checkout" style="display:none;">
<span><a href="/checkout">Checkout</a></span> or <span id="skip-inform-checkout"><a href="#">Continue shopping</a></span>
</div>
<div id="delivery-not-supported" style="display:none;">
Some vendors not support delivery to your location <span id="modify-cart-dns"><a href="/view-cart">Modify my cart</a></span>
</div>
<!-- Top Cart
============================================= -->
<div id="top-cart" class="top-cart top-cart-element">
<div id="top-cart-trigger" class="top-cart-trigger">
<i class="icon-shopping-cart"></i>
<span>0</span>
</div>
<div class="top-cart-content">
<div class="top-cart-title">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8 colxs-6">
<h4>My Cart</h4>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 colxs-6">
<div class="text-right">
<div style="color:#333;font-weight:bold;" id = 'close-top-cart' class ='close-top-cart'>X</div>
</div>
</div>
</div>
</div>
<div class="top-cart-items" id="cart">
</div>
<div class="top-cart-action clearfix">
<span class="fleft top-checkout-price">Rs. <span id="top-cart-total">0.00</span></span>
</div>
<div class="top-cart-action clearfix">
<a href="/view-cart" class="button button-3d button-small nomargin fleft btn btn-primary btn-sm">View Cart</a> <a href="/checkout" class="button-black button button-3d button-small nomargin fright btn btn-success btn-sm">Checkout</a> </div>
</div>
</div><!-- #top-cart end -->
</nav><!-- #primary-menu end -->
</div>
<div id="welcome-row">
<span class="hidden-xs pull-left">Welcome </span>
<span class="text-left pull-left" style="display:inline-block;">
Guest (<a href="/login">Login</a>) </span>
<span class="text-left pull-left hidden-xs" style="margin-left:5px;">Your location :
-
</span>
<div class="text-right pull-right" style="display:inline-block;">
<br>
</div>
</div>
</div>
</header>
<script type="text/javascript">
var summernoteSettings = {
toolbar: [
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['cleaner',['cleaner']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['color','fontname','strikethrough']],
['fontsize', ['fontsize']],
['para', ['ul', 'ol', 'paragraph']],
['table',['table']],
['insert',['picture','hr','link']],
['view',['codeview']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
var summernoteSettingsWithImage = {
toolbar: [
['cleaner',['cleaner']],
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['color','fontname','fontsize','strikethrough']],
['para', ['ul', 'ol', 'paragraph']],
['table',['table']],
['insert',['picture','hr','link']],
['view',['codeview']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
var summernoteMinimal = {
toolbar: [
['cleaner',['cleaner']],
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['fontsize','strikethrough']],
['para', ['ul', 'ol', 'paragraph']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
// $(function(){
// $.extend($.summernote.plugins, {
// 'brenter': function (context) {
// this.events = {
// 'summernote.enter': function (we, e) {
// e.trigger($.Event("keydown", {
// keyCode: 13, // ENTER
// shiftKey: true
// }));
// e.preventDefault();
// }
// };
// }
// });
// });
/*,
cleaner:{
action: 'both',
newline: '<br>',
icon: '<i class="note-icon">[Your Button]</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>'],
keepClasses: false,
badTags: ['style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}*/
</script>
<div class="container">
</div>
<div class="content-wrap">
<div class="container">
</div>
<section class="content article article-page article- speakMe" id="staff">
<div class="container">
</div>
</div>
</div>
<div style="height:0px; overflow: visible;">
</div>
<div class="container text-center" id="payment-delivery-partner-section">
<div class="payment-partners">
<style type="text/css">
#supporting-payment-services li {
display : inline-block;
}
</style>
</div>
<div class="delivery-partners">
</div>
</div>
<footer id="footer" class="dark">
<div class="container">
<!-- Footer Widgets
============================================= -->
<div class="footer-widgets-wrap clearfix">
<div class="col_one_third">
<div class="widget clearfix">
<div>
<address>
<strong>Address:</strong><br>
11/2A, Abhayarama Lane, Narahenpita, Colombo 05 </address>
<strong>Call Us:</strong><br>
Tel : 0716351084<br/>Mob : 0716351084<br/>
<strong>Email Us:</strong><br>
technocity@css.lk
<br/>
<div class="social-media-links" style="display:inline-flex;">
<!-- FB Link -->
<div style="margin-right:5px;">
<a href="https://www.facebook.com/lakshop.lk" alt="Our Facebook page" title="Visit our Facebook page" target="_blank"><img src="/img/fb_small.png" alt=""/></a></div>
<div style="margin-right:5px;">
<a href="https://www.instagram.com/" alt="Our Instagram page" title="Visit our Instagram page" target="_blank"><img src="/img/instagram_small.png" alt=""/></a></div>
<div style="margin-right:5px;">
<a href="https://lk.linkedin.com/" alt="Our LinkedIn page" title="Visit our LinkedIn page" target="_blank"><img src="/img/linkedin_small.png" alt=""/></a></div>
</div>
<div class="clearfix visible-sm visible-xs"><br/></div>
</div>
<div style="margin-top:20px;">
<a href="/buyer-terms-and-conditions">Terms and Conditions</a> </div>
</div>
</div>
<div class="col_one_third">
<div class="widget clearfix">
<div id="fb-root"></div>
<script type="text/javascript">
console.log("FB WIDGET");
$(window).ready(function(){
setTimeout(function(){
$('body').append('<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v4.0&autoLogAppEvents=1">\<\/script>');
},1000);
});
</script>
<div class="fb-page" data-href="https://www.facebook.com/lakshop.lk/" data-adapt-container-width="true" data-tabs="timeline" data-width="" data-height="250" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/lakshop.lk/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/lakshop.lk/">Techno City</a></blockquote></div>
</div>
</div>
<div class="col_one_third col_last">
<div class="widget clearfix">
<style type="text/css">
#map {
width:100%;
height:250px;
min-height: 250px;
background: url('/files/websites/location/map.jpg') center center;
display: inline-block;
background-size:cover;
}
</style>
<a target="_blank" href="https://maps.google.com/?q=6.89597416,79.87513733">
<div id="map" style=""></div>
</a>
</div>
</div>
</div><!-- .footer-widgets-wrap end -->
</div>
<!-- Copyrights
============================================= -->
<div id="copyrights" style="padding:5px 0; color:#fff; background:#0082FC">
<div class="container">
<div class="col_full text-center" style="margin-bottom:0px;">
Techno City<span style="color:#C5C5C5;"> © 2026 All rights reserved </span> | <span id="powered-by-text"><span style="color:#C5C5C5;">Powered by </span><a href="https://lakshop.lk/" style="color:#fff;" target="_blank" class="powered-by-link">LakSHOP website builder</a></span> </div>
</div>
</div>
</footer>
</div>
<div id="gotoTop" class="icon-line-arrow-up"></div>
<script src="/js/js/plugins.js"></script>
<script src="/js/js/functions.js"></script>
<script src="/js/js/jquery-ui.js"></script>
<script src="/js/js/add_to_cart.js"></script> <script src="/js/js/remove_from_cart.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#form-search-item').on('keyup keypress', function(e) {
var keyCode = e.keyCode || e.which;
if (keyCode === 13) {
e.preventDefault();
return false;
}
});
$('#search-text').typeahead({
source: function (query, result) {
$('#search-text-value').val(query);
$.ajax({
url: '/products/findItem',
data: 'query=' + query,
dataType: "json",
type: "POST",
display: 'name',
success: function (data) {
var retStr = '';
result($.map(data, function (item) {
if(item.type == 'product_sub_category'){
retStr = '<div class="search-result cat-result" data-pc-id="'+item.pc_id+'" data-psc-id="'+item.psc_id+'" data-pssc-id="">';
retStr += '<span class="cat-search-result" style="background:#E9E9E9;">'+item.pc_name+'</span>';
retStr += ' -> '+'<a href="#" class="cat-search-result" style="background:#E2EEED;padding:2px 3px !important;">'+item.psc_name+'</a>';
retStr += '</div>';
}
if(item.type == 'product_category'){
retStr = '<div class="search-result cat-result" data-pc-id="'+item.pc_id+'" data-psc-id="" data-pssc-id="">';
retStr += '<a href="#" class="cat-search-result" style="background:#E9E9E9;padding:2px 3px !important;">'+item.pc_name+'</a>';
retStr += '</div>';
}
if(item.type == 'product'){
retStr = '<div id="'+item.href+'" class="search-result" data-pc-id="">'+item.name+'</div>';
}
return retStr;
}));
if($('.typeahead.dropdown-menu').length > 0){
// $('.typeahead.dropdown-menu').append('<li class="view-all" style="text-align:center;border-top:1px solid #efefef;"><a href="#" class="red-text" style="font-weight:bold;letter-spacing:1px;">View All</a></li>');
}
}
});
}
}).on('keydown', function(e) {
if (e.which == 13) {
if($('#form-search-item ul.typeahead').length > 0){
$('#form-search-item ul.typeahead li:first-child div').trigger('click');
}
else{
visitSearchResultPage();
}
}
});
});
function visitSearchResultPage(){
searchedText = $('#search-text-value').val();
window.location.href = '/products/search-result/'+searchedText;
}
$(document).ready(function(){
$('body').on('click','.view-all',function(e){
visitSearchResultPage();
e.preventDefault();
});
$('#form-search-item').submit(function(e){
visitSearchResultPage();
e.preventDefault();
});
$('body').on('click','.clear-search',function(e){
$('#search-text-value').val('');
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
return false;
});
$('body').on('click','#form-search-item ul.typeahead li div',function(e){
var pcId = $(this).attr('data-pc-id');
var pscId = $(this).attr('data-psc-id');
var psscId = $(this).attr('data-pssc-id');
if(pcId == ''){ //we are clicking on a product
var itemId = $(this).attr('id');
var itemName = $(this).text();
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val(itemName);
var formAction = '/websites/item-detail/product/'+itemId;
window.location.href = formAction;
}
else{
var dataPcFilterName = 'pc='+pcId;
var dataPscFilterName = (pscId != '' && pscId != undefined) ? 'psc='+pscId : '';
var dataPsscFilterName = (psscId != '' && psscId != undefined) ? 'pssc='+psscId : '';
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
var redirectLinkArray = [];
if (dataPcFilterName != "") {
redirectLinkArray.push(dataPcFilterName);
}
if (dataPscFilterName != "") {
redirectLinkArray.push(dataPscFilterName);
}
if (dataPsscFilterName != "") {
redirectLinkArray.push(dataPsscFilterName);
}
var redirectLink = redirectLinkArray.join("&");
window.location = '/shop/?'+redirectLink;
}
return false;
});
$('body').on('click','#form-search-item ul.typeahead li',function(e){
//~ console.log('click li');
if($(this).hasClass('view-all')){
$('.view-all').trigger('click');
}
else{
var pcId = $(this).find('div').attr('data-pc-id');
if(pcId == ''){ //we are clicking on a product
var itemId = $(this).find('div').attr('id');
var itemName = $(this).find('div').text();
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val(itemName);
var formAction = '/websites/item-detail/product/'+itemId;
window.location.href = formAction
}
else{
var dataPcFilerName = 'pc-'+pcId;
var pscId = $(this).find('div').attr('data-psc-id');
var dataPscFilerName = (pscId != '') ? 'psc-'+pscId : '';
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
if(dataPscFilerName == ''){
var formAction = 'https://stgsite156.lakshop.lk/?dataPc='+dataPcFilerName;
window.location.href = formAction;
}
else{
var formAction = 'https://stgsite156.lakshop.lk/?dataPc='+dataPcFilerName+'&dataPsc='+dataPscFilerName;
window.location.href = formAction;
}
}
}
return false;
});
$('body').on('keydown','#form-search-item ul.typeahead li',function(e){
if (e.keyCode == 13){
e.preventDefault();
return false;
}
});
});
</script>
<script src="/js/rateyo/jquery.rateyo.min.js"></script> <script src="/js/js/waitMe.min.js"></script> <script type="text/javascript">
$('#close-top-cart').click(function(e){
$('#top-cart').removeClass('top-cart-open');
});
var currentController = 'websites';
var currentAction = 'buyertermsandconditions';
console.log('currentController ='+currentController+' currentAction='+currentAction);
if(!(currentController == 'cartitems' && currentAction=='viewcart')){
if('0' > 0){
$('#delivery-not-supported').slideDown('slow');
}
}
</script>
<script type="text/javascript">
</script>
<style type="text/css">
/* The Modal (background) */
.location-model {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: hidden; /* Enable scroll if needed */
background-color: rgba(255,255,255,0.95); /* Black w/ opacity */
}
/* Modal Content/Box */
.location-modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
width: 80%; /* Could be more or less, depending on screen size */
}
/* The Close Button */
.location-model-close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
width:auto;
}
.location-model-close:hover,
.location-model-close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.location-modal-content h4 {
color: #000;
}
#btn-set-location-invoke {
position: fixed;
bottom:0px;
right:0px;
z-index: 10000;
}
</style>
<!-- Trigger/Open The Modal -->
<div id="location-set-model" class="location-model">
<!-- Modal content -->
<div class="location-modal-content">
<div class="clearfix">
<h4>Please select your district and the city<span class="location-model-close">×</span></h4>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col col-12 col-sm-4 location-set-district">
<div class="input select"><label for="district-id">District</label><select name="district_id" class="form-control" id="district-id"><option value="9">Ampara</option><option value="14">Anuradhapura</option><option value="23">Badulla</option><option value="7">Batticaloa</option><option value="1" selected="selected">Colombo</option><option value="20">Galle</option><option value="2">Gampaha</option><option value="22">Hambantota</option><option value="10">Jaffna</option><option value="3">Kalutara</option><option value="4">Kandy</option><option value="19">Kegalle</option><option value="25">Kilinochchi</option><option value="16">Kurunegala</option><option value="11">Mannar</option><option value="5">Matale</option><option value="21">Matara</option><option value="24">Moneragala</option><option value="12">Mullaitivu</option><option value="6">Nuwaraeliya</option><option value="15">Polonnaruwa</option><option value="17">Puttalam</option><option value="18">Ratnapura</option><option value="8">Trincomalee</option><option value="13">Vavuniya</option></select></div> </div>
<div class="col col-12 col-sm-4 location-set-city">
<div class="input select"><label for="city-id">City</label><select name="city_id" class="form-control" id="city-id"></select></div> </div>
</div>
<hr>
<div class="row">
<button class="btn btn-success btn-block form-control button" id="btn-set-location" type="submit">Update</button> </div>
</div>
</div>
<script type="text/javascript">
// Get the modal
var locationSettingModel = document.getElementById("location-set-model");
// Get the button that opens the modal
var btnSetLocationInvoke = document.getElementById("btn-set-location-invoke");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("location-model-close")[0];
if (btnSetLocationInvoke != undefined){
// When the user clicks on the button, open the modal
btnSetLocationInvoke.onclick = function() {
showLocationSettingDialog();
}
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
hideLocationSettingDialog();
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == locationSettingModel) {
hideLocationSettingDialog();
}
}
function showLocationSettingDialog(){
locationSettingModel.style.display = "block";
$('body').css('overflow','hidden');
// setTimeout( function(){
$('#location-set-model #district-id').val('1');
$('#location-set-model #district-id').trigger('change');
// }, 500);
$('#location-set-model #country-id').trigger('change');
$('.location-modal-content #country-id').chosen();
}
function hideLocationSettingDialog(){
locationSettingModel.style.display = "none";
$('body').css('overflow','auto');
}
$('#btn-set-location').click(function(){
$('body').waitMe();
/* For guests, set a session. For others, update user's profile */
var countryId = $('#location-set-model #country-id').val();
var districtId = $('#location-set-model #district-id').val();
var cityId = $('#location-set-model #city-id').val();
var postCode = $('#location-set-model #post-code').val();
console.log(countryId,districtId,cityId );
$.ajax({
type : 'POST',
url : '/users/set-district-city',
data : 'country_id='+countryId+'&district_id='+districtId+"&city_id="+cityId+'&post_code='+postCode,
success : function(message){
hideLocationSettingDialog();
if (message == 'success'){
location.reload();
} else {
alert ("Error occurred. Please try again.");
}
},
error : function(){
hideLocationSettingDialog();
}
});
});
$('#location-set-model #country-id').change(function(){
$('#location-set-model .location-set-district, #location-set-model .location-set-city, #location-set-model .location-set-postcode').hide();
var selCountry = $(this).val();
if (selCountry == '200'){
$('#location-set-model .location-set-district, #location-set-model .location-set-city').show();
} else {
$('#location-set-model .location-set-district, #location-set-model .location-set-city').hide();
$('#location-set-model .location-set-postcode').show();
}
});
</script>
<script src="/js/common/district_city_filter.js"></script>
<script type="text/javascript">
//to get sub categories based on categories
$("select#products-0-district-id").change(function(){
console.log('Triggering district change function');
var selectedDistrictId = $(this).val();
console.log("selected district id ", selectedDistrictId);
var cities = getCityOptionsFromDistrictId(selectedDistrictId);
console.log("GOT CITIES",cities);
$('#products-0-city-id, #edit-form #products-0-city-id').html(cities);
$("select#products-0-city-id").trigger("chosen:updated");
});
$("select#district-id").change(function(){
console.log('Triggering district change function');
var selectedDistrictId = $(this).val();
console.log("selected district id ", selectedDistrictId);
var cities = getCityOptionsFromDistrictId(selectedDistrictId);
console.log("GOT CITIES",cities);
$('#city-id').html(cities);
});
</script>
<script type="text/javascript">
$(function(){
// $('.location-modal-content #country-id').chosen();
});
</script>
</body>
</html>
'
}
$reasonPhrase = 'OK' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 47 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php , line 181 ]Code Context $value
), $first );
$first = false ; $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your technical expert | Techno City</title>
<link href="/files/websites/favicon/ca275f2f-9978-4dfd-985e-6764c10e8955/small_fav.png" type="image/x-icon" rel="icon"/><link href="/files/websites/favicon/ca275f2f-9978-4dfd-985e-6764c10e8955/small_fav.png" type="image/x-icon" rel="shortcut icon"/>
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700" rel="stylesheet">
<link rel="stylesheet" href="/css/css/bootstrap.css"/> <link rel="stylesheet" href="/css/style.css"/>
<link rel="stylesheet" href="/css/css/dark.css"/> <link rel="stylesheet" href="/css/css/swiper.css"/> <link rel="stylesheet" href="/css/lakshop.css"/> <link rel="stylesheet" href="/css/lakshop_template_style.css"/> <link rel="stylesheet" href="/css/lakshop_template_ecom_style.css"/>
<link rel="stylesheet" href="/css/rateyo/jquery.rateyo.min.css"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.css" rel="stylesheet">
<!-- Coffee Demo Specific Stylesheet -->
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/fonts.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/font-icons.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/animate.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/magnific-popup.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/responsive.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/colors.php?color=0082FC"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/xzoom.css"/> <link rel="stylesheet" href="/css/css/jquery.dataTables.min.css"/> <link rel="stylesheet" href="/css/css/jquery.bt.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/store_box.css"/> <link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/store_box_min.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/techno_city.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/techno_city_min.css"/>
<link rel="stylesheet" href="/css/lakshop_template_css/8/techno_city/sweet_house_min.css"/>
<link rel="stylesheet" href="/css/css/chosen.min.css"/> <link rel="stylesheet" type="text/css" href="/css/waitMe/waitMe.min.css">
<script src="/js/js/jquery.js"></script>
<script src="/js/bootstrap.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.js"></script>
<script src="/js/js/chosen.jquery.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/xzoom.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/jquery.hammer.min.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/magnific-popup.js"></script>
<script src="/js/lakshop_template_js/8/techno_city/setup.js"></script>
<script src="/js/js/app.js"></script> <script src="/js/js/jquery.dataTables.min.js"></script> <script src="/js/js/jquery.bt.min.js"></script>
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:title" content="Techno City" />
<meta property="og:description" content="" />
<meta property="og:image" content="https://stgsite156.lakshop.lk/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="">
<meta property="twitter:title" content="Techno City">
<meta property="twitter:description" content="">
<meta property="twitter:image" content="https://stgsite156.lakshop.lk/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png">
<meta name="title" content="Your technical expert | Techno City">
<meta name="description" content="Your technical expert | Techno City">
<style type="text/css">
#header{
background:#0082FC !important;
}
#header.sticky-header #header-wrap{
background:#0082FC !important;
}
#welcome-row{
background:#FED501 !important;
color:#fff;
}
#welcome-row a{
color:#fff !important;
}
#copyrights{
background:#FED501 !important;
color:#fff;
}
.top-cart-trigger span {
border: 1px solid #FED501 !important;
background: #FED501 !important;
color: #fff;
}
#top-cart .top-cart-content{
border-top: 2px solid #0082FC !important;
}
#product-category-row ul.list-inline li{
color:#0082FC }
.breadcrumbs ul li a:current-page{
color:#0082FC }
#item-single-content .item-cart-count{
background: #FED501 !important;
}
.top-cart-trigger span{
border: 1px solid #0082FC;
background: #0082FC;
color:#fff;
}
.top-cart-action a.fleft{
background: #0082FC !important;
}
#top-cart-total {
color: #0082FC !important;
}
.button-red, .button-red:hover {
background-color: #FED501 !important;
}
.button-3d.button-red:hover, .button-reveal.button-red:hover, .button-border.button-red:hover, .button-border.button-red.button-fill:before{
background-color: #FED501 !important;
}
/* #inform-checkout{
background: #0082FC !important;
} */
.product-thumb-box .item-cart-count{
background: #FED501 !important;
}
.widget-filter-links li.active-filter span{
background: #FED501 !important;
}
.top-cart-action span.top-checkout-price {
color: #0082FC !important;
float:right !important;
}
.top-cart-action .button.btn-primary{
background: #FED501 !important;
}
.top-cart-action .button.btn-success{
background: #0082FC !important;
}
.btn-primary:hover{
background: #FED501 !important;
}
.product-price ins{
color: #0082FC !important;
}
.gray-text a{
color:#FED501 !important;
}
.flash-updte-cart-msg p{
color:#FED501 !important;
}
#item-single-content .discounted-price, #item-single-content .normal-price{
color:#0082FC !important;
}
.top-cart-item-desc span.top-cart-item-price{
color: #0082FC !important;
}
</style>
</head>
<body class="stretched">
<style type="text/css">
.sample-inform-div{
text-align: center;
padding: 10px 0;
background: #333;
color: #fff;
}
.sample-inform-div a{
color:#fff;
font-weight:bold;
}
</style>
<div class="sample-inform-div">
This website is a sample website made from the <a href="https://stg.lakshop.lk" target="_blank">Site Maker</a> platform; create your own stunning site today with <a href="https://stg.lakshop.lk" target="_blank">Site Maker</a>!
</div>
<!-- Custom CSS -->
<style type="text/css">
</style>
<div id="wrapper" class="clearfix">
<script src="/js/js/typeahead.js"></script><link rel="stylesheet" href="/css/css/search_box.css"/>
<header id="header" class="full-header header-common-backend">
<div id="header-wrap">
<div class="container">
<div id="primary-menu-trigger"><i class="icon-reorder"></i></div>
<!-- Logo
============================================= -->
<div id="logo">
<a href="/" class="standard-logo"><img src="/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/large_logo.png" alt=""/></a>
<a href="/" class="retina-logo"><img src="/files/websites/logo/8cda4190-ae85-4cd8-a8c3-ffc895d7208f/small_logo.png" alt=""/></a> </div>
<!-- Primary Navigation
============================================= -->
<nav id="primary-menu">
<ul>
<li class="hidden"><a href="/#section-about-us" data-scrollto="#section-about-us"><div>About</div></a></li>
<li class=""><a href="/shop">Shop</a></li>
<li class="hidden"><a href="/#section-testimonials" data-scrollto="#section-testimonials"><div>Testimonial</div></a></li>
<li class="hidden-lg"><a href="/#section-contact-us" data-scrollto="#section-contact-us"><div>Contact Us</div></a></li>
<li>
<a href="/login">Login/Register</a> </li>
</ul>
<div style="display:inline-block;margin-top:15px;max-width:250px;" id="search-div">
<form method="post" accept-charset="utf-8" id="form-search-item" action="/buyer-terms-and-conditions"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="input-group">
<span class="input-group-addon" style="padding:2px 5px 2px 10px;background:#fff;border-right:0;border-top-left-radius: 18px;border-bottom-left-radius: 18px;">
<button type="submit" class="btn btn-default" style="padding:0;border-color:#fff;"><i class="icon-search"></i></button>
</span>
<div class="input text"><input type="text" name="search_text" placeholder="search anything" class="typeahead input-group-field form-control search-box-middle" style="min-width:50px !important;border-right:0;border-left:0;" id="search-text"/></div>
<span class="input-group-addon" style="padding:2px 10px 2px 5px;background:#fff;border-left:0;border-top-right-radius: 18px;border-bottom-right-radius: 18px;">
<a href="#" class="clear-search">X</a>
</span>
<input type="hidden" name="search_text_value" id="search-text-value"/> </div>
</form> </div>
<div id="inform-checkout" style="display:none;">
<span><a href="/checkout">Checkout</a></span> or <span id="skip-inform-checkout"><a href="#">Continue shopping</a></span>
</div>
<div id="delivery-not-supported" style="display:none;">
Some vendors not support delivery to your location <span id="modify-cart-dns"><a href="/view-cart">Modify my cart</a></span>
</div>
<!-- Top Cart
============================================= -->
<div id="top-cart" class="top-cart top-cart-element">
<div id="top-cart-trigger" class="top-cart-trigger">
<i class="icon-shopping-cart"></i>
<span>0</span>
</div>
<div class="top-cart-content">
<div class="top-cart-title">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8 colxs-6">
<h4>My Cart</h4>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 colxs-6">
<div class="text-right">
<div style="color:#333;font-weight:bold;" id = 'close-top-cart' class ='close-top-cart'>X</div>
</div>
</div>
</div>
</div>
<div class="top-cart-items" id="cart">
</div>
<div class="top-cart-action clearfix">
<span class="fleft top-checkout-price">Rs. <span id="top-cart-total">0.00</span></span>
</div>
<div class="top-cart-action clearfix">
<a href="/view-cart" class="button button-3d button-small nomargin fleft btn btn-primary btn-sm">View Cart</a> <a href="/checkout" class="button-black button button-3d button-small nomargin fright btn btn-success btn-sm">Checkout</a> </div>
</div>
</div><!-- #top-cart end -->
</nav><!-- #primary-menu end -->
</div>
<div id="welcome-row">
<span class="hidden-xs pull-left">Welcome </span>
<span class="text-left pull-left" style="display:inline-block;">
Guest (<a href="/login">Login</a>) </span>
<span class="text-left pull-left hidden-xs" style="margin-left:5px;">Your location :
-
</span>
<div class="text-right pull-right" style="display:inline-block;">
<br>
</div>
</div>
</div>
</header>
<script type="text/javascript">
var summernoteSettings = {
toolbar: [
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['cleaner',['cleaner']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['color','fontname','strikethrough']],
['fontsize', ['fontsize']],
['para', ['ul', 'ol', 'paragraph']],
['table',['table']],
['insert',['picture','hr','link']],
['view',['codeview']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
var summernoteSettingsWithImage = {
toolbar: [
['cleaner',['cleaner']],
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['color','fontname','fontsize','strikethrough']],
['para', ['ul', 'ol', 'paragraph']],
['table',['table']],
['insert',['picture','hr','link']],
['view',['codeview']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
var summernoteMinimal = {
toolbar: [
['cleaner',['cleaner']],
['fontSizes', ['8', '9', '10', '11', '12', '14', '16','18','20','22','24','25','30']],
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['fontsize','strikethrough']],
['para', ['ul', 'ol', 'paragraph']],
['other',[,'undo','redo']]
],
cleaner:{
action: 'button',
newline: '',
icon: '<i class="note-icon">Clean Text</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>','<table>','<thead>','<tbody>','<th>','<tr>','<td>'],
keepClasses: false,
badTags: ['span','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}
};
// $(function(){
// $.extend($.summernote.plugins, {
// 'brenter': function (context) {
// this.events = {
// 'summernote.enter': function (we, e) {
// e.trigger($.Event("keydown", {
// keyCode: 13, // ENTER
// shiftKey: true
// }));
// e.preventDefault();
// }
// };
// }
// });
// });
/*,
cleaner:{
action: 'both',
newline: '<br>',
icon: '<i class="note-icon">[Your Button]</i>',
keepHtml: false,
keepOnlyTags: ['<p>', '<br>', '<ul>', '<li>', '<b>', '<strong>','<i>', '<a>'],
keepClasses: false,
badTags: ['style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
badAttributes: ['style', 'start'],
limitChars: false,
limitDisplay: 'both',
limitStop: false
}*/
</script>
<div class="container">
</div>
<div class="content-wrap">
<div class="container">
</div>
<section class="content article article-page article- speakMe" id="staff">
<div class="container">
</div>
</div>
</div>
<div style="height:0px; overflow: visible;">
</div>
<div class="container text-center" id="payment-delivery-partner-section">
<div class="payment-partners">
<style type="text/css">
#supporting-payment-services li {
display : inline-block;
}
</style>
</div>
<div class="delivery-partners">
</div>
</div>
<footer id="footer" class="dark">
<div class="container">
<!-- Footer Widgets
============================================= -->
<div class="footer-widgets-wrap clearfix">
<div class="col_one_third">
<div class="widget clearfix">
<div>
<address>
<strong>Address:</strong><br>
11/2A, Abhayarama Lane, Narahenpita, Colombo 05 </address>
<strong>Call Us:</strong><br>
Tel : 0716351084<br/>Mob : 0716351084<br/>
<strong>Email Us:</strong><br>
technocity@css.lk
<br/>
<div class="social-media-links" style="display:inline-flex;">
<!-- FB Link -->
<div style="margin-right:5px;">
<a href="https://www.facebook.com/lakshop.lk" alt="Our Facebook page" title="Visit our Facebook page" target="_blank"><img src="/img/fb_small.png" alt=""/></a></div>
<div style="margin-right:5px;">
<a href="https://www.instagram.com/" alt="Our Instagram page" title="Visit our Instagram page" target="_blank"><img src="/img/instagram_small.png" alt=""/></a></div>
<div style="margin-right:5px;">
<a href="https://lk.linkedin.com/" alt="Our LinkedIn page" title="Visit our LinkedIn page" target="_blank"><img src="/img/linkedin_small.png" alt=""/></a></div>
</div>
<div class="clearfix visible-sm visible-xs"><br/></div>
</div>
<div style="margin-top:20px;">
<a href="/buyer-terms-and-conditions">Terms and Conditions</a> </div>
</div>
</div>
<div class="col_one_third">
<div class="widget clearfix">
<div id="fb-root"></div>
<script type="text/javascript">
console.log("FB WIDGET");
$(window).ready(function(){
setTimeout(function(){
$('body').append('<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v4.0&autoLogAppEvents=1">\<\/script>');
},1000);
});
</script>
<div class="fb-page" data-href="https://www.facebook.com/lakshop.lk/" data-adapt-container-width="true" data-tabs="timeline" data-width="" data-height="250" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/lakshop.lk/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/lakshop.lk/">Techno City</a></blockquote></div>
</div>
</div>
<div class="col_one_third col_last">
<div class="widget clearfix">
<style type="text/css">
#map {
width:100%;
height:250px;
min-height: 250px;
background: url('/files/websites/location/map.jpg') center center;
display: inline-block;
background-size:cover;
}
</style>
<a target="_blank" href="https://maps.google.com/?q=6.89597416,79.87513733">
<div id="map" style=""></div>
</a>
</div>
</div>
</div><!-- .footer-widgets-wrap end -->
</div>
<!-- Copyrights
============================================= -->
<div id="copyrights" style="padding:5px 0; color:#fff; background:#0082FC">
<div class="container">
<div class="col_full text-center" style="margin-bottom:0px;">
Techno City<span style="color:#C5C5C5;"> © 2026 All rights reserved </span> | <span id="powered-by-text"><span style="color:#C5C5C5;">Powered by </span><a href="https://lakshop.lk/" style="color:#fff;" target="_blank" class="powered-by-link">LakSHOP website builder</a></span> </div>
</div>
</div>
</footer>
</div>
<div id="gotoTop" class="icon-line-arrow-up"></div>
<script src="/js/js/plugins.js"></script>
<script src="/js/js/functions.js"></script>
<script src="/js/js/jquery-ui.js"></script>
<script src="/js/js/add_to_cart.js"></script> <script src="/js/js/remove_from_cart.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#form-search-item').on('keyup keypress', function(e) {
var keyCode = e.keyCode || e.which;
if (keyCode === 13) {
e.preventDefault();
return false;
}
});
$('#search-text').typeahead({
source: function (query, result) {
$('#search-text-value').val(query);
$.ajax({
url: '/products/findItem',
data: 'query=' + query,
dataType: "json",
type: "POST",
display: 'name',
success: function (data) {
var retStr = '';
result($.map(data, function (item) {
if(item.type == 'product_sub_category'){
retStr = '<div class="search-result cat-result" data-pc-id="'+item.pc_id+'" data-psc-id="'+item.psc_id+'" data-pssc-id="">';
retStr += '<span class="cat-search-result" style="background:#E9E9E9;">'+item.pc_name+'</span>';
retStr += ' -> '+'<a href="#" class="cat-search-result" style="background:#E2EEED;padding:2px 3px !important;">'+item.psc_name+'</a>';
retStr += '</div>';
}
if(item.type == 'product_category'){
retStr = '<div class="search-result cat-result" data-pc-id="'+item.pc_id+'" data-psc-id="" data-pssc-id="">';
retStr += '<a href="#" class="cat-search-result" style="background:#E9E9E9;padding:2px 3px !important;">'+item.pc_name+'</a>';
retStr += '</div>';
}
if(item.type == 'product'){
retStr = '<div id="'+item.href+'" class="search-result" data-pc-id="">'+item.name+'</div>';
}
return retStr;
}));
if($('.typeahead.dropdown-menu').length > 0){
// $('.typeahead.dropdown-menu').append('<li class="view-all" style="text-align:center;border-top:1px solid #efefef;"><a href="#" class="red-text" style="font-weight:bold;letter-spacing:1px;">View All</a></li>');
}
}
});
}
}).on('keydown', function(e) {
if (e.which == 13) {
if($('#form-search-item ul.typeahead').length > 0){
$('#form-search-item ul.typeahead li:first-child div').trigger('click');
}
else{
visitSearchResultPage();
}
}
});
});
function visitSearchResultPage(){
searchedText = $('#search-text-value').val();
window.location.href = '/products/search-result/'+searchedText;
}
$(document).ready(function(){
$('body').on('click','.view-all',function(e){
visitSearchResultPage();
e.preventDefault();
});
$('#form-search-item').submit(function(e){
visitSearchResultPage();
e.preventDefault();
});
$('body').on('click','.clear-search',function(e){
$('#search-text-value').val('');
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
return false;
});
$('body').on('click','#form-search-item ul.typeahead li div',function(e){
var pcId = $(this).attr('data-pc-id');
var pscId = $(this).attr('data-psc-id');
var psscId = $(this).attr('data-pssc-id');
if(pcId == ''){ //we are clicking on a product
var itemId = $(this).attr('id');
var itemName = $(this).text();
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val(itemName);
var formAction = '/websites/item-detail/product/'+itemId;
window.location.href = formAction;
}
else{
var dataPcFilterName = 'pc='+pcId;
var dataPscFilterName = (pscId != '' && pscId != undefined) ? 'psc='+pscId : '';
var dataPsscFilterName = (psscId != '' && psscId != undefined) ? 'pssc='+psscId : '';
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
var redirectLinkArray = [];
if (dataPcFilterName != "") {
redirectLinkArray.push(dataPcFilterName);
}
if (dataPscFilterName != "") {
redirectLinkArray.push(dataPscFilterName);
}
if (dataPsscFilterName != "") {
redirectLinkArray.push(dataPsscFilterName);
}
var redirectLink = redirectLinkArray.join("&");
window.location = '/shop/?'+redirectLink;
}
return false;
});
$('body').on('click','#form-search-item ul.typeahead li',function(e){
//~ console.log('click li');
if($(this).hasClass('view-all')){
$('.view-all').trigger('click');
}
else{
var pcId = $(this).find('div').attr('data-pc-id');
if(pcId == ''){ //we are clicking on a product
var itemId = $(this).find('div').attr('id');
var itemName = $(this).find('div').text();
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val(itemName);
var formAction = '/websites/item-detail/product/'+itemId;
window.location.href = formAction
}
else{
var dataPcFilerName = 'pc-'+pcId;
var pscId = $(this).find('div').attr('data-psc-id');
var dataPscFilerName = (pscId != '') ? 'psc-'+pscId : '';
$('body div.search-result').hide();
$('.search-box-middle').text();
$('.search-box-middle').html('');
$('.search-box-middle').val('');
if(dataPscFilerName == ''){
var formAction = 'https://stgsite156.lakshop.lk/?dataPc='+dataPcFilerName;
window.location.href = formAction;
}
else{
var formAction = 'https://stgsite156.lakshop.lk/?dataPc='+dataPcFilerName+'&dataPsc='+dataPscFilerName;
window.location.href = formAction;
}
}
}
return false;
});
$('body').on('keydown','#form-search-item ul.typeahead li',function(e){
if (e.keyCode == 13){
e.preventDefault();
return false;
}
});
});
</script>
<script src="/js/rateyo/jquery.rateyo.min.js"></script> <script src="/js/js/waitMe.min.js"></script> <script type="text/javascript">
$('#close-top-cart').click(function(e){
$('#top-cart').removeClass('top-cart-open');
});
var currentController = 'websites';
var currentAction = 'buyertermsandconditions';
console.log('currentController ='+currentController+' currentAction='+currentAction);
if(!(currentController == 'cartitems' && currentAction=='viewcart')){
if('0' > 0){
$('#delivery-not-supported').slideDown('slow');
}
}
</script>
<script type="text/javascript">
</script>
<style type="text/css">
/* The Modal (background) */
.location-model {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: hidden; /* Enable scroll if needed */
background-color: rgba(255,255,255,0.95); /* Black w/ opacity */
}
/* Modal Content/Box */
.location-modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
width: 80%; /* Could be more or less, depending on screen size */
}
/* The Close Button */
.location-model-close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
width:auto;
}
.location-model-close:hover,
.location-model-close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.location-modal-content h4 {
color: #000;
}
#btn-set-location-invoke {
position: fixed;
bottom:0px;
right:0px;
z-index: 10000;
}
</style>
<!-- Trigger/Open The Modal -->
<div id="location-set-model" class="location-model">
<!-- Modal content -->
<div class="location-modal-content">
<div class="clearfix">
<h4>Please select your district and the city<span class="location-model-close">×</span></h4>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col col-12 col-sm-4 location-set-district">
<div class="input select"><label for="district-id">District</label><select name="district_id" class="form-control" id="district-id"><option value="9">Ampara</option><option value="14">Anuradhapura</option><option value="23">Badulla</option><option value="7">Batticaloa</option><option value="1" selected="selected">Colombo</option><option value="20">Galle</option><option value="2">Gampaha</option><option value="22">Hambantota</option><option value="10">Jaffna</option><option value="3">Kalutara</option><option value="4">Kandy</option><option value="19">Kegalle</option><option value="25">Kilinochchi</option><option value="16">Kurunegala</option><option value="11">Mannar</option><option value="5">Matale</option><option value="21">Matara</option><option value="24">Moneragala</option><option value="12">Mullaitivu</option><option value="6">Nuwaraeliya</option><option value="15">Polonnaruwa</option><option value="17">Puttalam</option><option value="18">Ratnapura</option><option value="8">Trincomalee</option><option value="13">Vavuniya</option></select></div> </div>
<div class="col col-12 col-sm-4 location-set-city">
<div class="input select"><label for="city-id">City</label><select name="city_id" class="form-control" id="city-id"></select></div> </div>
</div>
<hr>
<div class="row">
<button class="btn btn-success btn-block form-control button" id="btn-set-location" type="submit">Update</button> </div>
</div>
</div>
<script type="text/javascript">
// Get the modal
var locationSettingModel = document.getElementById("location-set-model");
// Get the button that opens the modal
var btnSetLocationInvoke = document.getElementById("btn-set-location-invoke");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("location-model-close")[0];
if (btnSetLocationInvoke != undefined){
// When the user clicks on the button, open the modal
btnSetLocationInvoke.onclick = function() {
showLocationSettingDialog();
}
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
hideLocationSettingDialog();
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == locationSettingModel) {
hideLocationSettingDialog();
}
}
function showLocationSettingDialog(){
locationSettingModel.style.display = "block";
$('body').css('overflow','hidden');
// setTimeout( function(){
$('#location-set-model #district-id').val('1');
$('#location-set-model #district-id').trigger('change');
// }, 500);
$('#location-set-model #country-id').trigger('change');
$('.location-modal-content #country-id').chosen();
}
function hideLocationSettingDialog(){
locationSettingModel.style.display = "none";
$('body').css('overflow','auto');
}
$('#btn-set-location').click(function(){
$('body').waitMe();
/* For guests, set a session. For others, update user's profile */
var countryId = $('#location-set-model #country-id').val();
var districtId = $('#location-set-model #district-id').val();
var cityId = $('#location-set-model #city-id').val();
var postCode = $('#location-set-model #post-code').val();
console.log(countryId,districtId,cityId );
$.ajax({
type : 'POST',
url : '/users/set-district-city',
data : 'country_id='+countryId+'&district_id='+districtId+"&city_id="+cityId+'&post_code='+postCode,
success : function(message){
hideLocationSettingDialog();
if (message == 'success'){
location.reload();
} else {
alert ("Error occurred. Please try again.");
}
},
error : function(){
hideLocationSettingDialog();
}
});
});
$('#location-set-model #country-id').change(function(){
$('#location-set-model .location-set-district, #location-set-model .location-set-city, #location-set-model .location-set-postcode').hide();
var selCountry = $(this).val();
if (selCountry == '200'){
$('#location-set-model .location-set-district, #location-set-model .location-set-city').show();
} else {
$('#location-set-model .location-set-district, #location-set-model .location-set-city').hide();
$('#location-set-model .location-set-postcode').show();
}
});
</script>
<script src="/js/common/district_city_filter.js"></script>
<script type="text/javascript">
//to get sub categories based on categories
$("select#products-0-district-id").change(function(){
console.log('Triggering district change function');
var selectedDistrictId = $(this).val();
console.log("selected district id ", selectedDistrictId);
var cities = getCityOptionsFromDistrictId(selectedDistrictId);
console.log("GOT CITIES",cities);
$('#products-0-city-id, #edit-form #products-0-city-id').html(cities);
$("select#products-0-city-id").trigger("chosen:updated");
});
$("select#district-id").change(function(){
console.log('Triggering district change function');
var selectedDistrictId = $(this).val();
console.log("selected district id ", selectedDistrictId);
var cities = getCityOptionsFromDistrictId(selectedDistrictId);
console.log("GOT CITIES",cities);
$('#city-id').html(cities);
});
</script>
<script type="text/javascript">
$(function(){
// $('.location-modal-content #country-id').chosen();
});
</script>
</body>
</html>
'
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 47
Your technical expert | Techno City
Please select your district and the city×
District Ampara Anuradhapura Badulla Batticaloa Colombo Galle Gampaha Hambantota Jaffna Kalutara Kandy Kegalle Kilinochchi Kurunegala Mannar Matale Matara Moneragala Mullaitivu Nuwaraeliya Polonnaruwa Puttalam Ratnapura Trincomalee Vavuniya
Update