Commit 3b8e7747 authored by Ketan's avatar Ketan

Updating changes for cropper.

parent 754d3428
......@@ -64,10 +64,10 @@ $show_custom_tab = $_config->getProductDetail('show_custom_tab');
$custom_tab_name = $_config->getProductDetail('custom_tab_name');
$customtab_content = $_config->getProductDetail('customtab_content');
?>
<?php if(!empty($product->getCustomAttribute('tile_price'))){?>
<link rel="stylesheet" type="text/css" media="all" href="//localhost/coconva2118/pub/static/version1569245418/frontend/Sm/shop4u/en_US/js/jquery.selectareas.css">
<?php if(!empty($product->getCustomAttribute('tile_price'))){?>
<script type="text/javascript">
var tile_desc='<?php echo $product->getCustomAttribute('tile_price')->getValue();?>';
tile_desc = tile_desc.split('-');
......@@ -77,7 +77,7 @@ $customtab_content = $_config->getProductDetail('customtab_content');
</script>
<?php } ?>
<style type="text/css">
.loader {
......@@ -128,7 +128,8 @@ require([
'jquery',
'selectareas'
//'//localhost/coconva2118/pub/static/version1569245418/frontend/Sm/shop4u/en_US/js/jquery.selectareas.js'
], function (jQuery, selectareas) {
], function (jQuery, selectareas) {
jQuery('.price-final_price').html(' ');
jQuery.noConflict();
if (jQuery('span:contains('+widthLabel+')').parent().next('div').children('input').length && jQuery('span:contains('+heightLabel+')').parent().next('div').children('input').length) {
......@@ -313,7 +314,7 @@ jQuery('#preloader').remove();
});
</script>
<?php } ?>
<?php if ($detailedInfoGroup = $block->getGroupChildNames('detailed_info', 'getChildHtml')): ?>
<div class="product info detailed">
<?php $layout = $block->getLayout(); ?>
......
This diff is collapsed.
......@@ -37,11 +37,15 @@ var config = {
},
paths: {
'jquery/ui': 'jquery/jquery-ui',
'selectareas': 'jquery/selectareas'
'selectareas': 'jquery/selectareas',
'Croppie': 'jquery/croppie'
},
shim: {
'selectareas': {
deps: ['jquery']
},
'Croppie': {
deps: ['jquery']
}
},
deps: [
......@@ -958,4 +962,4 @@ require.config(config);
})(require);
\ No newline at end of file
})(require);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment