Commit 2522199a by dhn

Merge branch 'developer' of http://47.99.244.21:9999/root/joshine into Branch_developer

parents cd0bbfc7 9c7b580c
......@@ -196,7 +196,6 @@ class GoogleFeed extends Command
$criteria = $this->searchCriteriaBuilder
->addFilter('status', '1', 'eq')
->addFilter('visibility', '4', 'eq')
->addFilter('type_id','simple','eq')
->addFilter('category_id',$categoryId,'in')
->create();
......
......@@ -691,9 +691,8 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<script type="text/javascript">
require([
'jquery','ko'
], function ($) {
'jquery','ko', 'mage/translate'
], function ($, ko) {
$(".joshine-review-add-btn").on('click',function () {
$(".block.review-add").removeClass('joshine-hidden');
});
......@@ -1144,7 +1143,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
let review = findReviewById(shouldReviewId);
$(".review-box-title").html(review.title);
let fits_text = fitsTranslate(review.size_fits);
$(".review-box-size").html("Size Fits:"+ fits_text);
$(".review-box-size").html($.mage.__("Size Fits")+ ": " + fits_text);
$(".review-box-content").html(review.detail);
$("#review-box-id").val(review.review_id);
}
......
......@@ -94,13 +94,13 @@ else
<div class="content-wrap">
<div class="free_message">
<div class="msg-title">
<p style="font-weight: bold;">Shipping Fee</p>
<p style="font-weight: bold;"><?= $block->escapeHtml(__('Shipping Fee')) ?> </p>
</div>
<div class="msg-content">
Spend <span style="color:#EB001B;font-size: 16px;font-weight: bold;"><?= $block->escapeHtml(
<?= $block->escapeHtml(__('Spend')) ?> <span style="color:#EB001B;font-size: 16px;font-weight: bold;"><?= $block->escapeHtml(
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($difference_price),
['span']
) ?></span> more and get <span style="font-weight: bold;">FREE SHIPPING</span>!
) ?></span> <?= $block->escapeHtml(__('more and get')) ?> <span style="font-weight: bold;"><?= $block->escapeHtml(__('FREE SHIPPING')) ?></span>!
</div>
</div>
</div>
......@@ -112,10 +112,10 @@ else
<div class="content-wrap">
<div class="free_message">
<div class="msg-content">
Spend <span style="color:#EB001B;font-size: 16px;"><?= $block->escapeHtml(
<?= $block->escapeHtml(__('Spend')) ?> <span style="color:#EB001B;font-size: 16px;"><?= $block->escapeHtml(
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($difference_price),
['span']
) ?></span> more and get FREE SHIPPING!
) ?></span><?= $block->escapeHtml(__('more and get')) ?> <?= $block->escapeHtml(__('FREE SHIPPING')) ?>
</div>
</div>
</div>
......@@ -143,7 +143,7 @@ else
data-mage-init='{"shoppingCart":{"emptyCartButton": ".action.clear",
"updateCartActionContainer": "#update_cart_action_container"}}'>
<caption class="table-caption"><?= $block->escapeHtml(__('Shopping Cart Items')) ?></caption>
<thead><td><div class="item-summary">Item Summary</div></td></thead>
<thead><td><div class="item-summary"><?= $block->escapeHtml(__('Item Summary')) ?></div></td></thead>
<tr>
<td class="col item first" scope="col"><span><?= $block->escapeHtml(__('Item')) ?></span></td>
<td class="col price" scope="col"><span><?= $block->escapeHtml(__('Price')) ?></span></td>
......
......@@ -60,7 +60,7 @@ $subtotalStr = $block->escapeHtml(
<button type="button" data-role="proceed-to-checkout" title="Checkout Now" class="action primary checkout">
<span class="secure"><img alt="" src="/media/wysiwyg/secure.png"></span>
<span>Checkout Now</span>
<span><?= __("Checkout Now") ?></span>
</button>
</div>
......@@ -77,7 +77,7 @@ $subtotalStr = $block->escapeHtml(
</style>
<div class="or-checkout-with" style="display: flex;width:100%;line-height: 1.2rem;"><span>OR CHECKOUT WITH</span></div>
<div class="or-checkout-with" style="display: flex;width:100%;line-height: 1.2rem;"><span><?= __("OR CHECKOUT WITH") ?></span></div>
......@@ -85,7 +85,7 @@ $subtotalStr = $block->escapeHtml(
ec_shortcut_jjTyyXrRb0sVUXZkA5EduNvUofEEqeuO">
<div class="checkout-logo-medium">
<input type="image" data-action="checkout-form-submit" data-checkout-url="/paypal/express/start/button/1/" src="/static/frontend/Joshine/breeze/en_US/Magento_Paypal/images/paypal-color.svg" alt="Checkout with PayPal" title="Checkout with PayPal">
<div class="checkout-txt">Checkout</div>
<div class="checkout-txt"><?= __("Checkout") ?></div>
</div>
</div>
<style type="text/css">
......@@ -100,7 +100,7 @@ $subtotalStr = $block->escapeHtml(
<a href="https://www.securecheckout.billmelater.com/paycapture-content/fetch?hash=AU826TU8&amp;content=/bmlweb/ppwpsiw.html">
<img src="https://www.paypalobjects.com/webstatic/en_US/btn/btn_bml_text.png">
</a>
<div class="checkout-txt">Checkout</div>
<div class="checkout-txt"><?= __("Checkout") ?></div>
</div>
</div>
</div>
......
......@@ -26,7 +26,7 @@ $hasCouponCode = (bool) strlen($block->getCouponCode());
data-mage-init='{"collapsible":{"active": <?= $hasCouponCode ? 'true' : 'false' ?>, "openedState": "active", "saveState": false}}'
>
<div class="title" data-role="title" aria-controls="block-summary" role="tab" aria-selected="false" aria-expanded="false" tabindex="0">
<strong id="block-shipping-coupon" role="heading" aria-level="2">Coupon Code</strong>
<strong id="block-shipping-coupon" role="heading" aria-level="2"><?= __("Coupon Code") ?> </strong>
</div>
<div class="content" data-role="content" aria-labelledby="block-discount-heading" style="display: block;">
<form id="discount-coupon-form"
......
......@@ -4,7 +4,7 @@ $copyrightBlock = $block->getLayout()->createBlock('Magento\Theme\Block\Html\Foo
<footer class="page-footer">
<div data-block-id="shopping_footer_why_choose_us">
<div class="choose-us">
WHY CHOOSE US
<?= __("WHY CHOOSE US") ?>
</div>
<?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('why_choose_us')->toHtml();?>
<div class="footer-mini-copyright-content"><?= $block->escapeHtml($copyrightBlock->getCopyright()) ?></div>
......
......@@ -427,7 +427,7 @@ define([
var tem_size = '';
if (item.label.toLowerCase() == "size"){
tem_size = "<div id=\"product-intro__freeshipping-more-3\" >" +
"<a href=\"javascript:void(0);\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.5 8.5V15.5H5.31045V13.75C5.31045 13.3358 5.64623 13 6.06045 13C6.47466 13 6.81045 13.3358 6.81045 13.75V15.5H9.31045V11.75C9.31045 11.3358 9.64623 11 10.0604 11C10.4747 11 10.8104 11.3358 10.8104 11.75V15.5H13.3104V13.75C13.3104 13.3358 13.6462 13 14.0604 13C14.4747 13 14.8104 13.3358 14.8104 13.75V15.5H17.3104V11.75C17.3104 11.3358 17.6462 11 18.0604 11C18.4747 11 18.8104 11.3358 18.8104 11.75V15.5H20.5V8.5H3.5ZM14.0604 17H18.0604H21C21.5523 17 22 16.5523 22 16V8C22 7.44772 21.5523 7 21 7H3C2.44772 7 2 7.44772 2 8V16C2 16.5523 2.44772 17 3 17H6.06045H10.0604H14.0604Z\" fill=\"#5D626A\"></path></svg> Size Guide</a></div>";
"<a href=\"javascript:void(0);\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.5 8.5V15.5H5.31045V13.75C5.31045 13.3358 5.64623 13 6.06045 13C6.47466 13 6.81045 13.3358 6.81045 13.75V15.5H9.31045V11.75C9.31045 11.3358 9.64623 11 10.0604 11C10.4747 11 10.8104 11.3358 10.8104 11.75V15.5H13.3104V13.75C13.3104 13.3358 13.6462 13 14.0604 13C14.4747 13 14.8104 13.3358 14.8104 13.75V15.5H17.3104V11.75C17.3104 11.3358 17.6462 11 18.0604 11C18.4747 11 18.8104 11.3358 18.8104 11.75V15.5H20.5V8.5H3.5ZM14.0604 17H18.0604H21C21.5523 17 22 16.5523 22 16V8C22 7.44772 21.5523 7 21 7H3C2.44772 7 2 7.44772 2 8V16C2 16.5523 2.44772 17 3 17H6.06045H10.0604H14.0604Z\" fill=\"#5D626A\"></path></svg> "+$.mage.__('Size Guide')+"</a></div>";
label += tem_size;
label += '<span id="' + controlLabelId + '" class="' + classes.attributeLabelClass + '">' +
$('<i></i>').text(item.label).html() +
......@@ -450,7 +450,7 @@ define([
}
if (item.label.toLowerCase() == "size") {
// Create new control
var sizeContent = '<div class="swatch-attribute-selected-option-size-content" ><div style="font-size:.32rem;color:#999999;">Product Size Describe</div>'+'<span style="color:#0a0a0a;" class="'+classes.attributeSelectedOptionLabelClass + '"></span></div>';
var sizeContent = '<div class="swatch-attribute-selected-option-size-content" ><div style="font-size:.32rem;color:#999999;">'+$.mage.__("Product Size Describe")+ '</div>'+'<span style="color:#0a0a0a;" class="'+classes.attributeSelectedOptionLabelClass + '"></span></div>';
container.append(
'<div class="' + classes.attributeClass + ' ' + item.code + '" ' +
......
......@@ -3109,7 +3109,6 @@ Time in seconds between the widget updates.,module,Magento_CatalogWidget
"See Details","Ver información",module,Magento_Checkout
"Options Details","Detalles de las opciones",module,Magento_Checkout
"Remove","Eliminar",module,Magento_Checkout
"Cart Subtotal","Subtotal del carrito",module,Magento_Checkout
"No Payment Methods","No Payment Methods",module,Magento_Checkout
"Payment Information","Información de pago",module,Magento_Checkout
"No Payment method available.","Ningún método de pago está disponible.",module,Magento_Checkout
......@@ -15493,7 +15492,7 @@ formElements/*[name(.)=../../@formElement]/settings/title,module,Magento_Ui
"Item in Cart", "Artículo en el carrito"
"You have no items in your shopping cart.", "No tiene elementos en su carrito de compras."
"View and Edit Cart","Ver y editar carrito"
"Cart Subtotal", "Subtotal del carrito"
"Cart Subtotal", "Subtotal"
"You can track your order status by creating an account.", "Puede rastrear el estado de su pedido creando una cuenta."
"View Details", "Ver detalles"
"Options Details", "Detalles de opciones"
......@@ -15591,4 +15590,38 @@ Add your photo,Añadir sus fotos
Customer Login,Inicio de sesión del cliente
My Wish List, Mi lista de deseos
"Last Added Items","Últimos elementos añadidos"
Size Guide, Guía de tamaño
Product Size Describe,Descripción del tamaño del producto
Show Password,Mostrar contraseña
"Shopping Cart","Carrito de compras"
"Shipping&Payment","Transporte y pago"
"Order Complete","El pedido se ha completado"
"Secure Checkout","Pago Seguro"
"Free Shipping","Entrega gratuita"
"15-Day Returns","Devolución en 15 días"
"One-Year Warranty","Garantía de un año"
"Already Registered?","¿Ya registrado?"
"EASY RETURNS","Recompensa fácil"
"SAFE & SECURE","Seguro y confiable"
"No-quibble return & exchange within 15 Days","No se puede devolver ni cambiar dentro de los 15 días."
"Your information is always protected","Su información siempre está protegida"
"WHY CHOOSE US","¿¿ por qué nos eligen?"
"Place Order","Hacer un pedido"
Item Summary,Resumen del proyecto
Shipping Fee,Flete
Spend,Gastos
more and get,Más y obtener
FREE SHIPPING,Sin flete
Order Total, Número total de pedidos
OR CHECKOUT WITH,O al pagar la cuenta
Checkout Now,Pagar de inmediato
Coupon Code,Código preferencial
WHY CHOOSE US,¿¿ por qué nos eligen?
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