<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум ReadyScript &mdash; Добавление на страницу с товаром новых кнопок.]]></title>
		<link>https://forum.readyscript.ru/topic/2089/dobavlenie-na-stranitsu-s-tovarom-novykh-knopok/</link>
		<atom:link href="https://forum.readyscript.ru/feed/rss/topic/2089/" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Добавление на страницу с товаром новых кнопок.».]]></description>
		<lastBuildDate>Wed, 24 Jun 2020 12:18:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Добавление на страницу с товаром новых кнопок.]]></title>
			<link>https://forum.readyscript.ru/post/11130/#p11130</link>
			<description><![CDATA[<p>Спасибо за образец.Тестирую на теме Современная,интересно получилось)<br />Файлы с картинками залить в /templates/flatlines/resource/img/icons<br />В css путь к картинкам в виде </p><div class="codebox"><pre><code>(../img/icons/Russian_Post.png)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Daniel)]]></author>
			<pubDate>Wed, 24 Jun 2020 12:18:40 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/11130/#p11130</guid>
		</item>
		<item>
			<title><![CDATA[Re: Добавление на страницу с товаром новых кнопок.]]></title>
			<link>https://forum.readyscript.ru/post/11108/#p11108</link>
			<description><![CDATA[<p>Спасибо большое за консультацию, ниже мой код, Может кому будет полезно.</p><br /><p>Мой html</p><p>&lt;div class=&quot;info_div&quot;&gt;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;delivery knopka&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span&gt;Доставка&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;hide_info&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;h3&gt;Москва и Подмосковье&lt;/h3&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;strong&gt;Курьером:&lt;/strong&gt; по Москве - 200 р, за МКАД (в пределах 40 км) - от 200 до 500 р. от сложности доставки. &lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;strong&gt;Самовывоз:&lt;/strong&gt; Москва, м. Щелковская, ул. Алтайская 12 - бесплатно.&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;h3&gt;Другие регионы России&lt;/h3&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;Доставка в другие города России производиться компаниями:&lt;/p&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ul class=&quot;hide_info_delivery&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;span class=&quot;sdek&quot;&gt;СДЕК&lt;/span&gt;&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;span class=&quot;business_line&quot;&gt;Деловые Линии&lt;/span&gt;&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;span class=&quot;post_russia&quot;&gt;Почтой России&lt;/span&gt;&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;Стоимость доставки товара согласно тарифов ТК.&lt;/p&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;pay knopka&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span&gt;Оплата&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=&quot;hide_info&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;h3&gt;Наличными&lt;/h3&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;Вы можете расплатиться наличными при:&lt;/p&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;Доставке курьером&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;Забирая товар со склада (самовывоз)&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;Заказав доставку с наложенным платежом (вся Россия)&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;h3&gt;Онлайн оплата&lt;/h3&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;Сбербанк Онлайн&lt;/li&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;</p><p>&nbsp; &nbsp; &lt;/div&gt;</p><br /><p>Стили css</p><br /><p>.info_div {<br />&nbsp; &nbsp; display: flex;<br />&nbsp; &nbsp; justify-content: flex-start;<br />}</p><p>&nbsp; &nbsp; .knopka {<br />&nbsp; &nbsp; &nbsp; &nbsp; position: relative;<br />&nbsp; &nbsp; &nbsp; &nbsp; cursor: help;<br />&nbsp; &nbsp; &nbsp; &nbsp; padding: 15px 15px 15px 45px;<br />&nbsp; &nbsp; &nbsp; &nbsp; border-bottom: 1px solid #dcdcdc;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; .knopka span{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; font-size: 18px;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; .delivery{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background: url(89735_3.png) no-repeat scroll 0 center; <br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; .pay{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background: url(cb010d81724fbea1f551843c7bb762af.png) no-repeat scroll 5px center;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; .hide_info {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width: 500px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display: none;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; right: 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top: 45px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; border: 1px solid #dcdcdc;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; padding: 0 15px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; position: absolute;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background-color: #ffffff;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; z-index: 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .hide_info_delivery li{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list-style: none;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margin-bottom: 20px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .hide_info_delivery li span{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; font-size: 16px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; padding-top: 5px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; padding-bottom: 5px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .post_russia{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background: url(Russian_Post.png) no-repeat scroll 0 center;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; padding-left: 125px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .sdek{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background: url(cdek.png) no-repeat scroll 0 center;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; padding-left: 125px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .business_line{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background: url(dl_logo.png) no-repeat scroll 0 center;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; padding-left: 125px;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; .knopka:hover .hide_info {<br />&nbsp; &nbsp; &nbsp; &nbsp; display: block;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; @media (max-width: 767px){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .info_div {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display: block;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .hide_info {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width: 100%;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (Александр)]]></author>
			<pubDate>Wed, 06 May 2020 21:50:28 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/11108/#p11108</guid>
		</item>
		<item>
			<title><![CDATA[Re: Добавление на страницу с товаром новых кнопок.]]></title>
			<link>https://forum.readyscript.ru/post/11097/#p11097</link>
			<description><![CDATA[<div class="quotebox"><cite>Андрей пишет:</cite><blockquote><p>В шаблоне </p><p> moduleview / catalog / <strong>product.tpl</strong></p><p>после кода <br /></p><div class="codebox"><pre><code>        {hook name=&quot;catalog-product:information&quot; title=&quot;{t}Карточка товара:краткая информация{/t}&quot;}
            {if $product.barcode}
            &lt;p class=&quot;attribute&quot;&gt;{t}Артикул:{/t} &lt;span class=&quot;offerBarcode&quot;&gt;{$product.barcode}&lt;/span&gt;&lt;/p&gt;
            {/if}
            {if $product.brand_id}
            &lt;p class=&quot;attribute&quot;&gt;{t}Бренд:{/t} &lt;a class=&quot;brandTitle&quot; href=&quot;{$product-&gt;getBrand()-&gt;getUrl()}&quot;&gt;{$product-&gt;getBrand()-&gt;title}&lt;/a&gt;&lt;/p&gt;
            {/if}                
        {/hook}</code></pre></div><p>вставляем следующий блок:<br /></p><div class="codebox"><pre><code>&lt;div class=&quot;info_div&quot;&gt;
    &lt;div class=&quot;delivery knopka&quot;&gt;
        &lt;span&gt;Доставка&lt;/span&gt;
        &lt;div class=&quot;hide_info&quot;&gt;
            &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;Самовывоз:&lt;/strong&gt; Адрес Вашего склада&lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;Курьером:&lt;/strong&gt; Условия доставки&lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;По стране:&lt;/strong&gt; Без проблем доставим&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;pay knopka&quot;&gt;
        &lt;span&gt;Оплата&lt;/span&gt;
        &lt;div class=&quot;hide_info&quot;&gt;
            &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;Наличные:&lt;/strong&gt; Принимаем купюры и монеты&lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;Безналичные:&lt;/strong&gt; Оплата любой картой&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;other knopka&quot;&gt;
        &lt;span&gt;Прочее&lt;/span&gt;
        &lt;div class=&quot;hide_info&quot;&gt;
            &lt;h3&gt;Заголовок для совсем других данных&lt;/h3&gt;
            &lt;p&gt;Здесь описание абсолютно любой информации&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;</code></pre></div><br /><p>Данные в блоках <strong>hide_info</strong> меняем на Ваши.</p><br /><p>В стилях css <strong>style.css</strong></p><p>Добавляем код:<br /></p><div class="codebox"><pre><code>.info_div {
    width: 100%;
    display: flex;
position:relative;
}

.knopka {
    width: 30%;
    padding: 5% 10%;
    cursor: help;
    font-size: 20px;
}
.knopka:hover {
    background: #ccc;
}
.knopka:hover .hide_info {
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
    background: #ccc;
    padding: 5%;
}</code></pre></div></blockquote></div><br /><br /><p>Обновите кэш</p><p>После артикула<br />появится информационный блок, при наведении будут показаны подробности.</p>]]></description>
			<author><![CDATA[null@example.com (Андрей)]]></author>
			<pubDate>Thu, 30 Apr 2020 09:58:37 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/11097/#p11097</guid>
		</item>
		<item>
			<title><![CDATA[Re: Добавление на страницу с товаром новых кнопок.]]></title>
			<link>https://forum.readyscript.ru/post/11096/#p11096</link>
			<description><![CDATA[<p>В шаблоне </p><p> moduleview / catalog / <strong>product.tpl</strong></p><p>после кода <br /></p><div class="codebox"><pre><code>        {hook name=&quot;catalog-product:information&quot; title=&quot;{t}Карточка товара:краткая информация{/t}&quot;}
            {if $product.barcode}
            &lt;p class=&quot;attribute&quot;&gt;{t}Артикул:{/t} &lt;span class=&quot;offerBarcode&quot;&gt;{$product.barcode}&lt;/span&gt;&lt;/p&gt;
            {/if}
            {if $product.brand_id}
            &lt;p class=&quot;attribute&quot;&gt;{t}Бренд:{/t} &lt;a class=&quot;brandTitle&quot; href=&quot;{$product-&gt;getBrand()-&gt;getUrl()}&quot;&gt;{$product-&gt;getBrand()-&gt;title}&lt;/a&gt;&lt;/p&gt;
            {/if}                
        {/hook}</code></pre></div><p>вставляем следующий блок:<br /></p><div class="codebox"><pre><code>&lt;div class=&quot;info_div&quot;&gt;
    &lt;div class=&quot;delivery knopka&quot;&gt;
        &lt;span&gt;Доставка&lt;/span&gt;
        &lt;div class=&quot;hide_info&quot;&gt;
            &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;Самовывоз:&lt;/strong&gt; Адрес Вашего склада&lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;Курьером:&lt;/strong&gt; Условия доставки&lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;По стране:&lt;/strong&gt; Без проблем доставим&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;pay knopka&quot;&gt;
        &lt;span&gt;Оплата&lt;/span&gt;
        &lt;div class=&quot;hide_info&quot;&gt;
            &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;Наличные:&lt;/strong&gt; Принимаем купюры и монеты&lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;Безналичные:&lt;/strong&gt; Оплата любой картой&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;other knopka&quot;&gt;
        &lt;span&gt;Прочее&lt;/span&gt;
        &lt;div class=&quot;hide_info&quot;&gt;
            &lt;h3&gt;Заголовок для совсем других данных&lt;/h3&gt;
            &lt;p&gt;Здесь описание абсолютно любой информации&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;</code></pre></div><br /><p>Данные в блоках <strong>hide_info</strong> меняем на Ваши.</p><br /><p>В стилях css <strong>style.css</strong></p><p>Добавляем код:<br /></p><div class="codebox"><pre><code>.info_div {
    width: 100%;
    display: flex;
position:relative;
}

.knopka {
    width: 30%;
    padding: 5% 10%;
    cursor: help;
    font-size: 20px;
}
.knopka:hover {
    background: #ccc;
}
.knopka:hover .hide_info {
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
    background: #ccc;
    padding: 5%;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Андрей)]]></author>
			<pubDate>Thu, 30 Apr 2020 09:52:47 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/11096/#p11096</guid>
		</item>
		<item>
			<title><![CDATA[Добавление на страницу с товаром новых кнопок.]]></title>
			<link>https://forum.readyscript.ru/post/11093/#p11093</link>
			<description><![CDATA[<p>Доброго времени, хочу добавить в карточку товара блок Доставка и Оплата в виде кнопок. Что б при навидении на них выпадало окно с краткой информацией о доставке и оплате. Примерно как на этом сайте <a href="https://pnevmat24.ru/magazin-k-mmg-ak-7474m105-545-mm-bakelit-sliva/.">https://pnevmat24.ru/magazin-k-mmg-ak-7 … it-sliva/.</a> Посмотрел пару видео по html и css вроде ничего сложного нет. Только вот куда в коде добавить этот код не знаю. Подскажите как найти нужный файл. У меня тема молодежная, хочу добавить на эту страницу <a href="https://e-shoker.ru/product/elektroshoker-gepard-tw-309-pro/">https://e-shoker.ru/product/elektroshok … w-309-pro/</a> над или под блоком &quot;артикул&quot;. <br />1. Да я хочу запустить свои метостазы в этот невинный код.<br />2. Конечно я скопирую перед этим файл.<br />3. Если это возможно сделать каким то гуманным способом, например Drag&amp;drop конструктором, подскажите пожалуйста как это сделать.</p>]]></description>
			<author><![CDATA[null@example.com (Александр)]]></author>
			<pubDate>Wed, 29 Apr 2020 00:25:03 +0000</pubDate>
			<guid>https://forum.readyscript.ru/post/11093/#p11093</guid>
		</item>
	</channel>
</rss>
