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

#   Discount countdown show in listing\_img\_title

##

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

8 years 7 months ago [\#289994](#289994) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  *[Discount countdown show in listing\_img\_title](/forum/2-general-talk-about-hikashop/894188-discount-countdown-show-in-listing-img-title#289994 "Hi, today I made a purchase on . The product page show by adding this code  Now I want to show it in listing&#95;img&#95;title. Is there any way I can show it there ?")* was created by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")*

Hi, today I made a purchase on [ Discount countdown](https://www.hikashop.com/marketplace/product/cid-119.html). The product page show by adding this code Code:

&lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightBegin)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightBegin); } ?&gt;

Now I want to show it in listing_img_title. Is there any way I can show it there ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5NDE4OC1kaXNjb3VudC1jb3VudGRvd24tc2hvdy1pbi1saXN0aW5nLWltZy10aXRsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

8 years 7 months ago [\#290017](#290017) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Discount countdown show in listing\_img\_title](/forum/2-general-talk-about-hikashop/894188-discount-countdown-show-in-listing-img-title#290017 "Hi, today I made a purchase on . The product page show by adding this code  Now I want to show it in listing&#95;img&#95;title. Is there any way I can show it there ?")*

Hi I want to ask if I can combine with a final date of sale. For example, when the pre-order for the product ends.
I tried with this code but it does not work. The plug-in is great. Good job.
Code:

$this-&gt;element-&gt;product_sale_end or $view-&gt;element-&gt;product_sale_end

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5NDE4OC1kaXNjb3VudC1jb3VudGRvd24tc2hvdy1pbi1saXN0aW5nLWltZy10aXRsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 7 months ago [\#290039](#290039) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Discount countdown show in listing\_img\_title](/forum/2-general-talk-about-hikashop/894188-discount-countdown-show-in-listing-img-title#290039 "Hi, today I made a purchase on . The product page show by adding this code  Now I want to show it in listing&#95;img&#95;title. Is there any way I can show it there ?")*

Hello,

In the plugin configuration (via the Joomla plugin manager), you can configure in which "position" you want to display the countdown.
Thanks to that setting you can change the "slot" in the product page without having to perform a view override.

Now regarding the product listing ; that plugin was originally designed to display the counter in the product page only ; it would require some several modifications in the plugin source code to handle a product listing since the given data is not exactly the same and the view is using an unique ID (so it's not possible to have several countdowns in the same page).
These are not impossible tasks but would require some adjustments.

Regarding the display of the countdown depending the sale end and not the discount end is a really good idea of improvement.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5NDE4OC1kaXNjb3VudC1jb3VudGRvd24tc2hvdy1pbi1saXN0aW5nLWltZy10aXRsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

8 years 7 months ago [\#290188](#290188) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Discount countdown show in listing\_img\_title](/forum/2-general-talk-about-hikashop/894188-discount-countdown-show-in-listing-img-title#290188 "Hi, today I made a purchase on . The product page show by adding this code  Now I want to show it in listing&#95;img&#95;title. Is there any way I can show it there ?")*

Hi, Jerome. Can I ask you to add the option to show a product_sale_end or tell me how I can add it. Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5NDE4OC1kaXNjb3VudC1jb3VudGRvd24tc2hvdy1pbi1saXN0aW5nLWltZy10aXRsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 7 months ago [\#290198](#290198) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Discount countdown show in listing\_img\_title](/forum/2-general-talk-about-hikashop/894188-discount-countdown-show-in-listing-img-title#290198 "Hi, today I made a purchase on . The product page show by adding this code  Now I want to show it in listing&#95;img&#95;title. Is there any way I can show it there ?")*

Hello,

That's something we started to work on and which will be integrated into the next version of the plugin.
It would be difficult to give you all modifications to perform (it would take more time than doing it). But the main idea is to not use the "element-&gt;discount" object and read the date from the product itself.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5NDE4OC1kaXNjb3VudC1jb3VudGRvd24tc2hvdy1pbi1saXN0aW5nLWltZy10aXRsZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.074 seconds

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