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

#   Price with discount view edit

##

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

Less More

- Posts: 13
- Thank you received: 0
-
-

12 years 2 days ago [\#176830](#176830) by [Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")  *[Price with discount view edit](/forum/26-product-category-display/872565-price-with-discount-view-edit#176830 "-- url of the page with the problem -- :   www.kdauto.lt  -- HikaShop version -- : 2.3.3  Hey,  Can't find where to change view of price with discount. Now price before and after discount is in one line. See attached. On product page it self I find where to change code, but for carouselI can't find. In which view file I have to make a changes?")* was created by *[Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")*

-- url of the page with the problem -- : [ www.kdauto.lt](http://www.kdauto.lt)
-- HikaShop version -- : 2.3.3

Hey,

Can't find where to change view of price with discount. Now price before and after discount is in one line. See attached.
On product page it self I find where to change code, but for carouselI can't find. In which view file I have to make a changes?

- [ ![Capture&#95;2014-10-24.png](/forum/attachment/20313) ](/forum/attachment/20313 "...2014-10-24.png") [ ](/forum/attachment/20313?download=1 "...2014-10-24.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI1NjUtcHJpY2Utd2l0aC1kaXNjb3VudC12aWV3LWVkaXQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 2 days ago [\#176853](#176853) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price with discount view edit](/forum/26-product-category-display/872565-price-with-discount-view-edit#176853 "-- url of the page with the problem -- :   www.kdauto.lt  -- HikaShop version -- : 2.3.3  Hey,  Can't find where to change view of price with discount. Now price before and after discount is in one line. See attached. On product page it self I find where to change code, but for carouselI can't find. In which view file I have to make a changes?")*

Hi,

For both the carousel and the product page, the place is the same. It's the file "listing_price" of the view "product" that you want to modify via the menu Display&gt;Views.

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

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

Less More

- Posts: 13
- Thank you received: 0
-
-

12 years 18 hours ago [\#176975](#176975) by [Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")  Replied by *[Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")* on topic *[Price with discount view edit](/forum/26-product-category-display/872565-price-with-discount-view-edit#176975 "-- url of the page with the problem -- :   www.kdauto.lt  -- HikaShop version -- : 2.3.3  Hey,  Can't find where to change view of price with discount. Now price before and after discount is in one line. See attached. On product page it self I find where to change code, but for carouselI can't find. In which view file I have to make a changes?")*

For showing price in two lines in product page I use **echo '&lt;br&gt;';**  and it works, but for view on carousel don't . I was trying to put echo '&lt;br&gt;'; every it possible in product/listing_price.php but still no result. What I'm doing wrong?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI1NjUtcHJpY2Utd2l0aC1kaXNjb3VudC12aWV3LWVkaXQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 5 hours ago [\#176983](#176983) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price with discount view edit](/forum/26-product-category-display/872565-price-with-discount-view-edit#176983 "-- url of the page with the problem -- :   www.kdauto.lt  -- HikaShop version -- : 2.3.3  Hey,  Can't find where to change view of price with discount. Now price before and after discount is in one line. See attached. On product page it self I find where to change code, but for carouselI can't find. In which view file I have to make a changes?")*

Hi,

I checked your website but I see the exact same price display on both the carousel and the product page:
[ take.ms/wkWCT](http://take.ms/wkWCT)
Are you sure that you're editing the view file for your frontend template and not another one ?

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

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

Less More

- Posts: 13
- Thank you received: 0
-
-

11 years 11 months ago [\#177073](#177073) by [Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")  Replied by *[Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")* on topic *[Price with discount view edit](/forum/26-product-category-display/872565-price-with-discount-view-edit#177073 "-- url of the page with the problem -- :   www.kdauto.lt  -- HikaShop version -- : 2.3.3  Hey,  Can't find where to change view of price with discount. Now price before and after discount is in one line. See attached. On product page it self I find where to change code, but for carouselI can't find. In which view file I have to make a changes?")*

With thous prices you mark is everything okay. Price LT-€ in one line is okay. I'm talking about prices with discount. Now I have :
[strike]OLD PRICE LT OLD PRICE €[/strike] NEW PRICE LT NEW PRICE €, Now I need :
[strike]OLD PRICE LT OLD PRICE €[/strike]
NEW PRICE LT NEW PRICE €

I'm sure that I'm editing right PHP file. Because on product page with discount I was able to change price view like I need. See attached.

- [ ![Capture&#95;2014-10-27.png](/forum/attachment/20352) ](/forum/attachment/20352 "...2014-10-27.png") [ ](/forum/attachment/20352?download=1 "...2014-10-27.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI1NjUtcHJpY2Utd2l0aC1kaXNjb3VudC12aWV3LWVkaXQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 11 months ago [\#177075](#177075) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price with discount view edit](/forum/26-product-category-display/872565-price-with-discount-view-edit#177075 "-- url of the page with the problem -- :   www.kdauto.lt  -- HikaShop version -- : 2.3.3  Hey,  Can't find where to change view of price with discount. Now price before and after discount is in one line. See attached. On product page it self I find where to change code, but for carouselI can't find. In which view file I have to make a changes?")*

Hi,

It's because you have that CSS on your template CSS:
.hikashop_subcontainer br {
display: none;
}
This CSS hides the br tag that you added on listings.
Remove the CSS or add such override CSS and it will work:
.hikashop_subcontainer br {display: block !important; }

The following user(s) said Thank You: [Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")

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

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

Less More

- Posts: 13
- Thank you received: 0
-
-

11 years 11 months ago [\#177117](#177117) by [Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")  Replied by *[Kadasta](/forum/user/32519-kadasta "View Kadasta's Profile")* on topic *[Price with discount view edit](/forum/26-product-category-display/872565-price-with-discount-view-edit#177117 "-- url of the page with the problem -- :   www.kdauto.lt  -- HikaShop version -- : 2.3.3  Hey,  Can't find where to change view of price with discount. Now price before and after discount is in one line. See attached. On product page it self I find where to change code, but for carouselI can't find. In which view file I have to make a changes?")*

Perfect! Now it works. Thanks again for brilliant support.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI1NjUtcHJpY2Utd2l0aC1kaXNjb3VudC12aWV3LWVkaXQ/dG1wbD1tYXJrZG93bg==) 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?

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

Time to create page: 0.219 seconds

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

[](#top)
