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

#   empty cart module layout

##

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 1 month ago [\#128143](#128143) by [redconect](/forum/user/28321-redconect "View redconect's Profile")  *[empty cart module layout](/forum/25-install-update/862857-empty-cart-module-layout#128143 "-- url of the page with the problem -- : proteinasbarcelona.es -- HikaShop version -- : 2.2.2. hikshop busines -- Joomla version -- :3.0 -- PHP version -- : x.x.x -- Browser(s) name and version -- : crhome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  hi sorry for bother you guy sending a lost of emails, but im new using hikashop so im learnig,...  so to the think,, i want to put a cart image like this  on my cart module whe its empty as you can see on this picture looks to much simple,  i try to put it bot i dont find the way to add this image in that module.  can you helpme whit this please. thanks for all youre help.")* was created by *[redconect](/forum/user/28321-redconect "View redconect's Profile")*

-- url of the page with the problem -- : proteinasbarcelona.es
-- HikaShop version -- : 2.2.2. hikshop busines
-- Joomla version -- ![:3](/smile3.gif ":3").0
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : crhome
-- Error-message(debug-mod must be tuned on) -- : Error_message

hi sorry for bother you guy sending a lost of emails, but im new using hikashop so im learnig,...

so to the think,, i want to put a cart image like this

[ ![h8c2c3e0.jpg](/forum/attachment/12905) ](/forum/attachment/12905 "h8c2c3e0.jpg")

on my cart module whe its empty as you can see on this picture looks to much simple,
[ ![h79dad09.PNG](/forum/attachment/12906) ](/forum/attachment/12906 "h79dad09.PNG")

[ ![h79dad09.PNG](/forum/attachment/12906) ](/forum/attachment/12906 "h79dad09.PNG")

i try to put it bot i dont find the way to add this image in that module.

can you helpme whit this please.
thanks for all youre help.

- [ ![h8c2c3e0.jpg](/forum/attachment/12905) ](/forum/attachment/12905 "h8c2c3e0.jpg") [ ](/forum/attachment/12905?download=1 "h8c2c3e0.jpg")
- [ ![h79dad09.PNG](/forum/attachment/12906) ](/forum/attachment/12906 "h79dad09.PNG") [ ](/forum/attachment/12906?download=1 "h79dad09.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg2Mjg1Ny1lbXB0eS1jYXJ0LW1vZHVsZS1sYXlvdXQ/dG1wbD1tYXJrZG93bg==) 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 -  13 years 1 month ago [\#128164](#128164) 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 *[empty cart module layout](/forum/25-install-update/862857-empty-cart-module-layout#128164 "-- url of the page with the problem -- : proteinasbarcelona.es -- HikaShop version -- : 2.2.2. hikshop busines -- Joomla version -- :3.0 -- PHP version -- : x.x.x -- Browser(s) name and version -- : crhome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  hi sorry for bother you guy sending a lost of emails, but im new using hikashop so im learnig,...  so to the think,, i want to put a cart image like this  on my cart module whe its empty as you can see on this picture looks to much simple,  i try to put it bot i dont find the way to add this image in that module.  can you helpme whit this please. thanks for all youre help.")*

Hi,

You'll just have to :
- Go to "*Hikashop-&gt;Display-&gt;Views*"
- Edit the "Cart" file of the "Product" view of your front-end template
- Change this line : Code:

$emptyText =JText::_('CART_EMPTY');

By : Code:

$emptyText = '&lt;img src="YourImgLink" alt="cart empty" height="42" width="42"&gt;'.JText::_('CART_EMPTY');

Note that you'll have to replace the **YourImgLink** text by the link to your image.

Last edit: 13 years 1 month ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

13 years 1 month ago [\#128203](#128203) by [redconect](/forum/user/28321-redconect "View redconect's Profile")  Replied by *[redconect](/forum/user/28321-redconect "View redconect's Profile")* on topic *[empty cart module layout](/forum/25-install-update/862857-empty-cart-module-layout#128203 "-- url of the page with the problem -- : proteinasbarcelona.es -- HikaShop version -- : 2.2.2. hikshop busines -- Joomla version -- :3.0 -- PHP version -- : x.x.x -- Browser(s) name and version -- : crhome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  hi sorry for bother you guy sending a lost of emails, but im new using hikashop so im learnig,...  so to the think,, i want to put a cart image like this  on my cart module whe its empty as you can see on this picture looks to much simple,  i try to put it bot i dont find the way to add this image in that module.  can you helpme whit this please. thanks for all youre help.")*

$url_itemid='&amp;Itemid='.$Itemid;
}
$this-&gt;setLayout('listing_price');
$this-&gt;params-&gt;set('show_quantity_field', 0);
$desc = $this-&gt;params-&gt;get('msg');
$cart_type = $this-&gt;params-&gt;get('cart_type','cart');
if($cart_type == 'wishlist'){
$convertText = JText::_('WISHLIST_TO_CART');
$displayText = JText::_('DISPLAY_THE_WISHLIST');
$displayAllText = JText::_('DISPLAY_THE_WISHLISTS');
$emptyText = JText::_('WISHLIST_EMPTY');
}else{
$convertText = JText::_('CART_TO_WISHLIST');
$displayText = JText::_('DISPLAY_THE_CART');
$displayAllText = JText::_('DISPLAY_THE_CARTS');
$emptyText = '&lt;img src="images/carrito.jpg" alt="cart empty" height="42" width="42"&gt;'.JText::_('CART_EMPTY');
}
if(empty($desc) &amp;&amp; $desc != '0'){
$emptyText = '&lt;img src="images/carrito.jpg)" alt="cart empty" height="42" width="42"&gt;'.JText::_('CART_EMPTY');
}
if(!headers_sent()){
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
}
$cart_type=$this-&gt;params-&gt;get('cart_type','cart');
if($this-&gt;params-&gt;get('from','no') == 'no'){
$this-&gt;params-&gt;set('from',JRequest::getString('from','display'));

sorry i think i doit grong. i putit once y set twice and now disapear the car module S(
what can i do help
thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg2Mjg1Ny1lbXB0eS1jYXJ0LW1vZHVsZS1sYXlvdXQ/dG1wbD1tYXJrZG93bg==) 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 -  13 years 1 month ago [\#128225](#128225) 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 *[empty cart module layout](/forum/25-install-update/862857-empty-cart-module-layout#128225 "-- url of the page with the problem -- : proteinasbarcelona.es -- HikaShop version -- : 2.2.2. hikshop busines -- Joomla version -- :3.0 -- PHP version -- : x.x.x -- Browser(s) name and version -- : crhome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  hi sorry for bother you guy sending a lost of emails, but im new using hikashop so im learnig,...  so to the think,, i want to put a cart image like this  on my cart module whe its empty as you can see on this picture looks to much simple,  i try to put it bot i dont find the way to add this image in that module.  can you helpme whit this please. thanks for all youre help.")*

The problem is coming from the fact that you also replaced this line : Code:

if(empty($desc) &amp;&amp; $desc != '0'){ $this-&gt;params-&gt;set('msg',$emptyText); }

By Code:

if(empty($desc) &amp;&amp; $desc != '0'){ $emptyText = '&lt;img src="images/carrito.jpg)" alt="cart empty" height="42" width="42"&gt;'.JText::_('CART_EMPTY'); }

You should revert these changes.

I just wanted your to change these lines : Code:

$displayAllText = JText::_('DISPLAY_THE_CARTS'); $emptyText = JText::_('CART_EMPTY');

By Code:

$displayAllText = JText::_('DISPLAY_THE_CARTS'); $emptyText = '&lt;img src="images/carrito.jpg" alt="cart empty" height="42" width="42"&gt;'.JText::_('CART_EMPTY');

Last edit: 13 years 1 month ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

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