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

#   Reduce Cart Image Size

##

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

Less More

- Posts: 118
- Thank you received: 3
-
-

13 years 1 month ago [\#127503](#127503) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127503 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")* was created by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")*

-- HikaShop version -- : Business 2.2.2

Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 1 month ago [\#127519](#127519) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127519 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Hi,

You'll probably be able to do it with some [ CSS ](http://www.hikashop.com/support/19-documentation/hikashop/installation-configuration/84-css-styling.html)code customization like : Code:

.hikashop_cart_module_product_image.hikashop_cart_value img { width: 42px; }

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

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

Less More

- Posts: 118
- Thank you received: 3
-
-

13 years 1 month ago [\#127589](#127589) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  Replied by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127589 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Thanks Mohamed, I'll give that a shot.

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

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

Less More

- Posts: 118
- Thank you received: 3
-
-

13 years 1 month ago [\#127590](#127590) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  Replied by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127590 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

ok, just tried it into the front end CSS (in HS configuration/display/css) and it didn't change anything... any other ideas?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Mjc0MC1yZWR1Y2UtY2FydC1pbWFnZS1zaXplP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

13 years 1 month ago [\#127607](#127607) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127607 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Hi,

You should use that CSS instead:
.hikashop_cart_product_image_value img{
width: 42px !important;
}

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

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

Less More

- Posts: 118
- Thank you received: 3
-
-

13 years 1 month ago [\#127624](#127624) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  Replied by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127624 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Thanks Nicolas, although it still didn't work, everything stays the same.

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

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

Less More

- Posts: 118
- Thank you received: 3
-
-

13 years 1 month ago [\#127627](#127627) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  Replied by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127627 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

ok, I have just tried something which kind of worked:

Configuration/Main/Images - I changed the thumbnail size to 80 wide, this is perfect for what I want in the checkout. Although, this changed the size of the images in the product pages which should be 200 wide. How can I specify just the cart images to be one size, and the product images to be another size?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Mjc0MC1yZWR1Y2UtY2FydC1pbWFnZS1zaXplP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#127638](#127638) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127638 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Hi,

Well.. There is another kind of solution if the CSS does not work : the view override.
So in the view "checkout &#124; cart" (because I suppose that you want to change the image size in the checkout cart) there is this code: Code:

&lt;td class="hikashop_cart_product_image_value"&gt; &lt;?php if(!empty($row-&gt;images)){ $image = reset($row-&gt;images); $width = $this-&gt;config-&gt;get('thumbnail_x'); $height = $this-&gt;config-&gt;get('thumbnail_y'); $this-&gt;image-&gt;checkSize($width,$height,$image); if(!$this-&gt;config-&gt;get('thumbnail')){ echo '&lt;img src="'.$this-&gt;image-&gt;uploadFolder_url.$image-&gt;file_path.'" alt="'.$image-&gt;file_name.'" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;'; }else{ ?&gt; &lt;div class="hikashop_cart_product_image_thumb" &gt; &lt;?php echo $this-&gt;image-&gt;display($image-&gt;file_path,true,$image-&gt;file_name,'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"', '', $width, $height); ?&gt; &lt;/div&gt; &lt;?php } } ?&gt; &lt;/td&gt;

By changing the values of $widht and $height you will change the width and the height of the thumbnail images.
So Code:

$width = $this-&gt;config-&gt;get('thumbnail_x'); $height = $this-&gt;config-&gt;get('thumbnail_y');

will become: Code:

$width = 80; $height = 80;

For example...

Regards,

---

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

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

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

Less More

- Posts: 118
- Thank you received: 3
-
-

13 years 1 month ago [\#127689](#127689) by [ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")  Replied by *[ahcopyart](/forum/user/27667-ahcopyart "View ahcopyart's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#127689 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Perfect Jerome! Thanks heaps, I went in to the cart views and looked at all that code and tried various alterations, didn't go to "checkout/cart" though. Thanks again.

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

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

Less More

- Posts: 59
- Thank you received: 1
-
-

11 years 8 months ago [\#193144](#193144) by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile")  Replied by *[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193144 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Hi, I followed the exact same steps but everything stayed the same?

Am I missing something here?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 8 months ago [\#193150](#193150) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193150 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Hi,

Are you sure to have edited the view "checkout / cart" in the correct template ?

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

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

Less More

- Posts: 59
- Thank you received: 1
-
-

11 years 8 months ago [\#193219](#193219) by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile")  Replied by *[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193219 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

I really only have one template for front-end listed in my Display &gt; Views section...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Mjc0MC1yZWR1Y2UtY2FydC1pbWFnZS1zaXplP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#193345](#193345) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193345 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

If you followed the steps described here, it should have worked. You must have missed something.
For example, the checkout/cart.php view file is for the cart display on the checkout while the product/cart.php file is for the cart module display. So maybe you wanted to edit the cart module display and you should have edited the product/cart.php view file, or you actually wanted to edit the checkout cart display but you actually edited the other view.
Or maybe you have some caching on your website which prevented you from seeing the change ?

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

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

Less More

- Posts: 59
- Thank you received: 1
-
-

11 years 8 months ago [\#193412](#193412) by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile")  Replied by *[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193412 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

So this is getting really sick now. Why must this always happen to me.

I actually have 2 different installations of hikashop. "Hikashop Starter" and "Hikashop Business".

When I do this edit in starter edition, everything works fine.

But when I do this in business edition, noting happens. And by the way, when I upgraded my starter to business, all my css got resetted. Could this be related?

Best Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Mjc0MC1yZWR1Y2UtY2FydC1pbWFnZS1zaXplP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#193423](#193423) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193423 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

The modification is the same for the Starter and the Business edition, and it will work the same.
So the problem is either a simple thing you overlooked when doing the change or some cache preventing you from seeing the change.
It has nothing to do with the upgrade or the CSS.

HikaShop indeed update its core CSS files on each update. That's actually Joomla doing that.
That's why, when you edit the CSS of HikaShop via the Display tab of the HikaShop configuration an override file is created so that you don't loose your changes when you update. So if you lose them, it means that you must have edited the CSS file directly instead of via the interface, which we don't recommend:
[ www.hikashop.com/support/support/documen...ize-the-display.html](https://www.hikashop.com/support/support/documentation/153-customize-the-display.html)

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

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

Less More

- Posts: 59
- Thank you received: 1
-
-

11 years 8 months ago [\#193506](#193506) by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile")  Replied by *[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193506 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Ok Like I said earlier.... I have 2 editions. One starter and one business.

On the starter, voila this works like magic... however on the business (2.4.0) nada.

Can you please do this change in any business 2.4.0 edition that you have and confirm that it actually works?? Or else I can upload my entire site and please have a look at it.

And no. I have checked cache, and even tried on different computers... nothing changes, still same thumbnail size.

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

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

Less More

- Posts: 59
- Thank you received: 1
-
-

11 years 8 months ago -  11 years 8 months ago [\#193556](#193556) by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile")  Replied by *[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193556 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Btw, this is how my code looks like:
Code:

&lt;tr class="row&lt;?php echo $k; ?&gt;"&gt; &lt;?php if($this-&gt;params-&gt;get('show_cart_image')){ ?&gt; &lt;td data-title="&lt;?php echo JText::_('CART_PRODUCT_IMAGE'); ?&gt;" class="hikashop_cart_product_image_value"&gt; &lt;?php $width = 60; $height = 60; if(!empty($row-&gt;images)){ $image = reset($row-&gt;images); $this-&gt;image-&gt;checkSize($width,$height,$image); }else{ $image = null; } if($image &amp;&amp; !$this-&gt;config-&gt;get('thumbnail')){ echo '&lt;img src="'.$this-&gt;image-&gt;uploadFolder_url.$image-&gt;file_path.'" alt="'.$image-&gt;file_name.'" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;'; }else{ ?&gt;

I can do a echo "hello world" and it shows up jsut under the cart no problem under checkout. Really, its just the image size i cant change... And I don't have a clue about php...

Last edit: 11 years 8 months ago by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2Mjc0MC1yZWR1Y2UtY2FydC1pbWFnZS1zaXplP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#193570](#193570) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193570 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

Hi,

I can do the change and confirm that it works.
I suppose that your issue doesn't come from the Business edition but the fact that you're using the 2.4 on that website and not on the others and that you have that bug:
[ www.hikashop.com/forum/install-update/87...images-shrunken.html](http://www.hikashop.com/forum/install-update/875427-upgrade-to-2-4-0-main-product-images-shrunken.html)

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

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

Less More

- Posts: 59
- Thank you received: 1
-
-

11 years 8 months ago [\#193625](#193625) by [madjedo](/forum/user/35774-madjedo "View madjedo's Profile")  Replied by *[madjedo](/forum/user/35774-madjedo "View madjedo's Profile")* on topic *[Reduce Cart Image Size](/forum/27-checkout/862740-reduce-cart-image-size#193625 "-- HikaShop version -- : Business 2.2.2  Hello, is there a way to change the image size in the cart? All other image sizes are good so I don't want to alter those, just in the cart we don't need them that large. Possible? if so, how please :)")*

updated it and it works now... almost drove me crazy lol. thanks

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

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