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

#   center the quantity selector in cart module

##

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

Less More

- Posts: 31
- Thank you received: 4
-
-

2 years 1 month ago -  2 years 1 month ago [\#363957](#363957) by [Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")  *[center the quantity selector in cart module](/forum/26-product-category-display/908770-center-the-quantity-selector-in-cart-module#363957 "-- url of the page with the problem -- :   www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr  Hi,  I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.  On that same cart module, how do I increase the image size?  How do I put the &quot;proceed to checkout&quot; button at the bottom of the page?  And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by&quot;volume&quot;. Is there a way to add the volume name in the cart module?")* was created by *[Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")*

-- url of the page with the problem -- : [ www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr](https://www.ndnfragrance.com/index.php?option=com_hikashop&view=product&layout=show&Itemid=535&lang=fr)

Hi,

I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.

On that same cart module, how do I increase the image size?

How do I put the "proceed to checkout" button at the bottom of the page?

And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by"volume". Is there a way to add the volume name in the cart module?

Last edit: 2 years 1 month ago by [Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile").

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

2 years 1 month ago -  2 years 1 month ago [\#363968](#363968) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[center the quantity selector in cart module](/forum/26-product-category-display/908770-center-the-quantity-selector-in-cart-module#363968 "-- url of the page with the problem -- :   www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr  Hi,  I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.  On that same cart module, how do I increase the image size?  How do I put the &quot;proceed to checkout&quot; button at the bottom of the page?  And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by&quot;volume&quot;. Is there a way to add the volume name in the cart module?")*

Hello,

In order to answer you step by step :
"***I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.***"

This css command will do the trick :
[ ![alt](https://i.ibb.co/ZBQ5dCs/image.png) ](https://i.ibb.co/ZBQ5dCs/image.png "alt")

"***On that same cart module, how do I increase the image size?***"
This kind of css command will allow you to modify your image size. Code:

div#hikashop_cart_module img.hikashop_product_cart_image { width: 130px; }

"**How do I put the "proceed to checkout" button at the bottom of the page?**" Code:

div#offcanvascart a.hikabtn.hikashop_cart_proceed_to_checkout { position: absolute; bottom: 5px; }

You have a custom Css that hide the variant name, remove it to solve your issue :
[ ![alt](https://i.ibb.co/bJXyRPx/image.png) ](https://i.ibb.co/bJXyRPx/image.png "alt")

Regards

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

The following user(s) said Thank You: [Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")

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

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

Less More

- Posts: 31
- Thank you received: 4
-
-

2 years 1 month ago [\#363977](#363977) by [Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")  Replied by *[Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")* on topic *[center the quantity selector in cart module](/forum/26-product-category-display/908770-center-the-quantity-selector-in-cart-module#363977 "-- url of the page with the problem -- :   www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr  Hi,  I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.  On that same cart module, how do I increase the image size?  How do I put the &quot;proceed to checkout&quot; button at the bottom of the page?  And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by&quot;volume&quot;. Is there a way to add the volume name in the cart module?")*

It works great! Thank you!
The only point is for the size of images

> "On that same cart module, how do I increase the image size?"
> This kind of css command will allow you to modify your image size.
>
> div#hikashop\_cart\_module img.hikashop\_product\_cart\_image {
> width: 130px;
> }

That works except it stille taking into account the 50x50 thumbnail definition. So, when I increase the size it makes a blurred image.

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

2 years 1 month ago -  2 years 1 month ago [\#364000](#364000) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[center the quantity selector in cart module](/forum/26-product-category-display/908770-center-the-quantity-selector-in-cart-module#364000 "-- url of the page with the problem -- :   www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr  Hi,  I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.  On that same cart module, how do I increase the image size?  How do I put the &quot;proceed to checkout&quot; button at the bottom of the page?  And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by&quot;volume&quot;. Is there a way to add the volume name in the cart module?")*

Hello,

This must be because you set your thumbnail size to 50 px here:
[ ![alt](https://i.ibb.co/n1DP8SJ/image.png) ](https://i.ibb.co/n1DP8SJ/image.png "alt")

your solution can be to increase this, **AND** adjust it in your relative Item Menu via settings in Product Options tab OR via specific custom Css.
Regards

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

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

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

Less More

- Posts: 31
- Thank you received: 4
-
-

2 years 1 month ago [\#364112](#364112) by [Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")  Replied by *[Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")* on topic *[center the quantity selector in cart module](/forum/26-product-category-display/908770-center-the-quantity-selector-in-cart-module#364112 "-- url of the page with the problem -- :   www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr  Hi,  I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.  On that same cart module, how do I increase the image size?  How do I put the &quot;proceed to checkout&quot; button at the bottom of the page?  And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by&quot;volume&quot;. Is there a way to add the volume name in the cart module?")*

Sorry, the problem is not there.
The thumbnail width*height is set to 115x115

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

2 years 1 month ago -  2 years 1 month ago [\#364113](#364113) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[center the quantity selector in cart module](/forum/26-product-category-display/908770-center-the-quantity-selector-in-cart-module#364113 "-- url of the page with the problem -- :   www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr  Hi,  I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.  On that same cart module, how do I increase the image size?  How do I put the &quot;proceed to checkout&quot; button at the bottom of the page?  And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by&quot;volume&quot;. Is there a way to add the volume name in the cart module?")*

Hello,

Please, provide us this elements :
- **Url link** to your backend (administrator)
- Backend user **references** (with maximum ACL)

**Note :** Use our **[ Contact us](https://www.hikashop.com/support/contact-us.html)** form to provide these elements, and don't forget to **add an url link to this topic**.
Regards

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

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

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

Less More

- Posts: 31
- Thank you received: 4
-
-

2 years 4 weeks ago -  2 years 4 weeks ago [\#364134](#364134) by [Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")  Replied by *[Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")* on topic *[center the quantity selector in cart module](/forum/26-product-category-display/908770-center-the-quantity-selector-in-cart-module#364134 "-- url of the page with the problem -- :   www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr  Hi,  I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.  On that same cart module, how do I increase the image size?  How do I put the &quot;proceed to checkout&quot; button at the bottom of the page?  And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by&quot;volume&quot;. Is there a way to add the volume name in the cart module?")*

This message contains confidential information

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

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

2 years 4 weeks ago -  2 years 4 weeks ago [\#364140](#364140) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[center the quantity selector in cart module](/forum/26-product-category-display/908770-center-the-quantity-selector-in-cart-module#364140 "-- url of the page with the problem -- :   www.ndnfragrance.com/index.php?option=co...w&amp;Itemid=535&amp;lang=fr  Hi,  I try to center the quantity input in the cart module, the one accessible when clicking the add to cart button. I don't find the solution. Defining a height and/or using vertical-align:middle doesn't change anything.  On that same cart module, how do I increase the image size?  How do I put the &quot;proceed to checkout&quot; button at the bottom of the page?  And finally, whatever variant I choose, it shows the name of the product. This means the customer doesn't know which variant is in the cart. The variant is defined by&quot;volume&quot;. Is there a way to add the volume name in the cart module?")*

Hello,

Thnaks for your element, we have found a solution for your specific need.
You have already an override of your view **product**/**cart**.

You can force your image parameters directly in your override view around line **484 - 485**
You have this : Code:

$width = (int)$this-&gt;config-&gt;get('cart_thumbnail_x', 50); $height = (int)$this-&gt;config-&gt;get('cart_thumbnail_y', 50);

Change your **2** parameters "**50**" for "**100**" (or "200" if required), to get this : Code:

$width = (int)$this-&gt;config-&gt;get('cart_thumbnail_x', 100); $height = (int)$this-&gt;config-&gt;get('cart_thumbnail_y', 100);

Then you can adjust via a custom css your image width.
Regards

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

The following user(s) said Thank You: [Rejouisens](/forum/user/82752-rejouisens "View Rejouisens's Profile")

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

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