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

#   Which file to edit stock quantity in category view

##

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

Less More

- Posts: 76
- Thank you received: 5
- [](http://www.mitrax.com.au)
-

6 years 2 weeks ago [\#325016](#325016) by [Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")  *[Which file to edit stock quantity in category view](/forum/26-product-category-display/901026-which-file-to-edit-stock-quantity-in-category-view#325016 "-- url of the page with the problem -- :   www.mitrax.com.au/  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.3.23 -- Browser(s) name and version -- : Chrome/86.0.4240.80 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  I want to format the layout of products on my category page so that add to cart button is on a different line to stock quantity.  I can find the file for product quantity but haven't been able to locate file with stock quantity for category view.  Could you tell me which file I need to edit please ?  Cheers Rob")* was created by *[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")*

-- url of the page with the problem -- : [ www.mitrax.com.au/](https://www.mitrax.com.au/)
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.8
-- PHP version -- : 7.3.23
-- Browser(s) name and version -- : Chrome/86.0.4240.80
-- Error-message(debug-mod must be tuned on) -- : N/A

Hi,

I want to format the layout of products on my category page so that add to cart button is on a different line to stock quantity.

I can find the file for product quantity but haven't been able to locate file with stock quantity for category view.

Could you tell me which file I need to edit please ?

Cheers
Rob

---

MItrax Trading
[ www.mitrax.com.au](http://www.mitrax.com.au)

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 2 weeks ago -  6 years 2 weeks ago [\#325037](#325037) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Which file to edit stock quantity in category view](/forum/26-product-category-display/901026-which-file-to-edit-stock-quantity-in-category-view#325037 "-- url of the page with the problem -- :   www.mitrax.com.au/  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7.3.23 -- Browser(s) name and version -- : Chrome/86.0.4240.80 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  I want to format the layout of products on my category page so that add to cart button is on a different line to stock quantity.  I can find the file for product quantity but haven't been able to locate file with stock quantity for category view.  Could you tell me which file I need to edit please ?  Cheers Rob")*

Hello,

I will answer you question by showing how you can easily find a view, but I have a better solution for you via **Css**.
**1.** Trouver les références des vues HikaShop, à partir de la page principale de configuration d'HikaShop, allez sur l'onglet **Advanced**, puis vous verrez immédiatement l'option **Display view files** (dans la partie Advanced settings) activé là sur **frontend**.
**Résultat :** Vous aurez chaque vue qui sera annoté avec son nom et sa réference.

**2.** La solution pour vous besoin le plus simple est éfficace , et de changer le mode de **display** de vos éléments.
Concrétement passer de "**display: inline;**" pour "**display: block;**"
**=&gt;** Pour ajouter du custom Css, regardez **[ ce tutorial](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)**.

Puis créez une bonne commande Css, comme ce **pseudo code** par exemple : Code:

.html_page_class .quantity_html_class, .html_page_class .addToCart_button_html_class { display: block; }

En espérant que cela conviendra pour avoir ce dont vous avez besoin.
Cordialement

Last edit: 6 years 2 weeks ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDEwMjYtd2hpY2gtZmlsZS10by1lZGl0LXN0b2NrLXF1YW50aXR5LWluLWNhdGVnb3J5LXZpZXc/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.047 seconds

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