Task: 6631 | Вывод цены в карточке товара в зависимости от региона

dev_10_refactoring
parent 0253ba2472
commit 3bfdd630b6
  1. 8
      wp-content/themes/cosmopet/woocommerce/archive-product/archive-product.twig
  2. 2
      wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-desktop.css

@ -3,6 +3,14 @@
{% extends 'layout.twig' %} {% extends 'layout.twig' %}
{% block content %} {% block content %}
{% if site_region == 'ru' %}
<style>
.product-item-overlay__price::after{
content: '₽';
}
</style>
{% endif %}
<div class="breadcrumbs"> <div class="breadcrumbs">
<a href="/" class="breadcrumbs__item"> <a href="/" class="breadcrumbs__item">

@ -662,7 +662,7 @@ main{
color: var(--text-black); color: var(--text-black);
} }
.product-item-overlay__price::after{ .product-item-overlay__price::after{
content: ''; content: 'AED';
} }
.product-item-overlay__block-button{ .product-item-overlay__block-button{
margin-top: 32px; margin-top: 32px;

Loading…
Cancel
Save