[Skip to main content](#vessel-content)

Здесь вы можете свободно общаться на русском языке. Просим отнестись с пониманием к тому, что мы не разговариваем на этом языке и не можем осуществлять поддержку на нем.

#   Убрать нули из цены

##

- **[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")**
- [![anaga76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50043-anaga76 "View anaga76's Profile") Topic Author
- [ Offline](/forum/user/50043-anaga76)

Less More

- Posts: 12
- Thank you received: 0
-
-

7 years 6 months ago [\#306385](#306385) by [anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")  *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306385 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")* was created by *[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")*

Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так чтобы они не выводились?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")**
- [![anaga76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50043-anaga76 "View anaga76's Profile") Topic Author
- [ Offline](/forum/user/50043-anaga76)

Less More

- Posts: 12
- Thank you received: 0
-
-

7 years 6 months ago [\#306386](#306386) by [anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")  Replied by *[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306386 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

Wrong partition. Please move to the Russian section

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

7 years 5 months ago [\#306391](#306391) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306391 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

Topic has been moved.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile")
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

7 years 5 months ago [\#306392](#306392) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  Replied by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306392 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

ну разве что поставить дополнительное округление при выводе цены....

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")**
- [![anaga76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50043-anaga76 "View anaga76's Profile") Topic Author
- [ Offline](/forum/user/50043-anaga76)

Less More

- Posts: 12
- Thank you received: 0
-
-

7 years 5 months ago [\#306395](#306395) by [anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")  Replied by *[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306395 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

Если в пункте денежные единицы, то там есть строка округление, но нули все равно остаются после округления. Если пройти по ссылке на формат денежных единиц , то там есть упоминание о функции number_format_drop_zero_decimals(54.00, 2) ==&gt; 54 вот она и убирает нули. Я плохо разбираюсь в php и может нужно флажок где-то поставить или функцию эту активировать ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile")
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

7 years 5 months ago [\#306396](#306396) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  Replied by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306396 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

просто убрать нули для всех цен - это делается через настройки.
а вот чтобы для какой-то цены убрать нули, а для других оставить - это надо вмешиваться в код.
Нужно переопределение.

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")**
- [![anaga76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50043-anaga76 "View anaga76's Profile") Topic Author
- [ Offline](/forum/user/50043-anaga76)

Less More

- Posts: 12
- Thank you received: 0
-
-

7 years 5 months ago [\#306397](#306397) by [anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")  Replied by *[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306397 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

А где в настройка можно убрать нули у всех цен? Мне в принципе такое тоже подайдет

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile")
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

7 years 5 months ago [\#306414](#306414) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  Replied by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306414 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

[ ![2019-05-10&#95;16-28-18.png](/forum/attachment/46776) ](/forum/attachment/46776 "...0&#95;16-28-18.png")

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

- [ ![2019-05-10&#95;16-28-18.png](/forum/attachment/46776) ](/forum/attachment/46776 "...0&#95;16-28-18.png") [ ](/forum/attachment/46776?download=1 "...0&#95;16-28-18.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")**
- [![anaga76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50043-anaga76 "View anaga76's Profile") Topic Author
- [ Offline](/forum/user/50043-anaga76)

Less More

- Posts: 12
- Thank you received: 0
-
-

7 years 5 months ago [\#306421](#306421) by [anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")  Replied by *[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306421 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

нет, это не то, это сколько знаков после запятой , и он округляет до этого знака, а где нет ничего он как раз нули и ставит

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile")
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

7 years 5 months ago [\#306422](#306422) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  Replied by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306422 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

тогда я не понимаю что вам нужно.
он убирает нули после запятой.
выглядит так
[ ![2019-05-10&#95;19-00-18.png](/forum/attachment/46779) ](/forum/attachment/46779 "...0&#95;19-00-18.png")

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

- [ ![2019-05-10&#95;19-00-18.png](/forum/attachment/46779) ](/forum/attachment/46779 "...0&#95;19-00-18.png") [ ](/forum/attachment/46779?download=1 "...0&#95;19-00-18.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")**
- [![anaga76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50043-anaga76 "View anaga76's Profile") Topic Author
- [ Offline](/forum/user/50043-anaga76)

Less More

- Posts: 12
- Thank you received: 0
-
-

7 years 5 months ago [\#306423](#306423) by [anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")  Replied by *[anaga76](/forum/user/50043-anaga76 "View anaga76's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306423 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

у меня есть цена 30 руб, а есть 2,8 руб, когда ставлю 1 , цены становятся 30,0 и 2,8 , когда 0 то 30 руб и 3 руб, т.е. он округлил 2,8
руб
а надо что бы было 30 руб и 2,8 руб , т.е. у 30 не было нолей, а 2,8 не округлялось до 3

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile")
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

7 years 5 months ago [\#306424](#306424) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  Replied by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")* on topic *[Убрать нули из цены](/forum/11-russian/897432-ubrat-nuli-iz-ceny#306424 "Подскажите, есть цены с копейками, а есть без копеек. Там где без копеек выводится 00, можно ли сделать так...")*

я уже писал об этом - такое возможно только если вручную делать переопределение для вывода цены.
В штатный функционал это не укладывается.

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vODk3NDMyLXVicmF0LW51bGktaXotY2VueT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.095 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
