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

#   Include a small bit of text and buy now button

##

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago [\#7438](#7438) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  *[Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7438 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")* was created by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")*

Hi

At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text

Basically we sell books and we would like to list in the following layout:

Image - then Title.
Author Name
Save 20% off RRP save £...
Add to cart button

Can that be done?

Please advise how I can go about that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#7448](#7448) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7448 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Hi,

You can customize the file listing_img_title of the view product via the menu Display-&gt;Views for that. You can add text directly there. If you need to add text based on the product, you will have to create custom product fields (via the menu Display-&gt;Custom fields in our commercial versions) so that you can enter the information in the products and then use it in that view (with some PHP code like this: echo $row-&gt;CUSTOM_FIELD_COLUMN_NAME; ).

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago [\#7459](#7459) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7459 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Hi Nicolas I can create custom fields in my non-commercial version but only for address.

Are you saying I would need to buy the commercial software in order to achieve this? Please advise if so and how much it would be?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#7461](#7461) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7461 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

If you don't need different information for different products, you don't need our commercial versions and you can just edit the view. However, if you want to add additional information fields to your products you will indeed need one of our commercial versions. The Essential version costs €49.95 and the Business version €99.90

You can see a features list there: [ www.hikashop.com/en/hikashop.html](http://www.hikashop.com/en/hikashop.html)

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago -  15 years 8 months ago [\#7463](#7463) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7463 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Well as I said, I need a Save 20% link and the value that saved and a Add to Cart button. So yes it probably would be custom. AM I mistaken

Also can I change the layout so all the title, etc wraps to the left of the image rather than appearing centred below it?

Sorry about this! :silly:

Last edit: 15 years 8 months ago by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#7469](#7469) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7469 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

The add to cart button can be added by turning on the corresponding option in your module/menu's hikashop options (you should be able to access them via the menus Display-&gt;Content menus and Display-&gt;Content modules).
I don't know what you want to have with this save 20% link. Does that need to go to a special page ?
I see that you want an author name, so you will need the custom product fields anyway.

The layout can be changed in the file listing_img_title of the view product via the menu Display-&gt;Views
You might also be able to customize the style by editing the CSS of hikashop in the config under the tab display.

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago [\#7473](#7473) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7473 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

20% is not a specific link its just like saying "buy this off this website and make a saving of, for example £10.50

So It will vary depending on item.

Hope this helps.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#7476](#7476) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7476 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Well, you can create discounts via the menu System-&gt;Discounts and restrict them to a product or a category of products (in commercial versions of HikaShop). You can also tweak the options of your module/menu and the translations to display the discount message as you want. So I don't think that you need to edit the views for the discount itself.

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago -  15 years 8 months ago [\#7526](#7526) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7526 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

OK I shall leave that for now.

However my code for listing_img_title I am still confused about. Below is the existing code:

> &lt;?php
> /\*\*
> \* @package HikaShop for Joomla!
> \* @version 1.4.4
> \* @author hikashop.com
> \* @copyright (C) 2010 HIKARI SOFTWARE. All rights reserved.
> \* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
> \*/
> defined('\_JEXEC') or die('Restricted access');
> ?&gt;
> &lt;?php $link = hikashop::completeLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product\_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category\_pathway);
> if($this-&gt;config-&gt;get('thumbnail')){ ?&gt;
> &lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main\_thumbnail\_y;?&gt;px;text-align:center;clear:both;" class="hikashop\_product\_image"&gt;
> &lt;?php if($this-&gt;params-&gt;get('link\_to\_product\_page',1)){ ?&gt;
> &lt;a href="&lt;?php echo $link;?&gt;"&gt;
> &lt;?php }
> echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file\_path,false,$this-&gt;escape($this-&gt;row-&gt;product\_name));
> if($this-&gt;params-&gt;get('link\_to\_product\_page',1)){ ?&gt;
> &lt;/a&gt;
> &lt;?php } ?&gt;
> &lt;/div&gt;
> &lt;?php
> }
> if($this-&gt;params-&gt;get('show\_price')){
> $this-&gt;setLayout('listing\_price');
> echo $this-&gt;loadTemplate();
> }
> ?&gt;
> &lt;span class="hikashop\_product\_name"&gt;
> &lt;?php if($this-&gt;params-&gt;get('link\_to\_product\_page',1)){ ?&gt;
> &lt;a href="&lt;?php echo $link;?&gt;"&gt;
> &lt;?php }
> echo $this-&gt;row-&gt;product\_name;
> if($this-&gt;params-&gt;get('link\_to\_product\_page',1)){ ?&gt;
> &lt;/a&gt;
> &lt;?php } ?&gt;
> &lt;/span&gt;
> &lt;?php
> if($this-&gt;params-&gt;get('add\_to\_cart')){
> ?&gt;
> &lt;form action="&lt;?php echo hikashop::completeLink('product&amp;task=updatecart'); ?&gt;" method="post" name="hikashop\_product\_form\_&lt;?php echo $this-&gt;row-&gt;product\_id.'\_'.$this-&gt;params-&gt;get('main\_div\_name'); ?&gt;"&gt;&lt;?php
> $this-&gt;ajax='';
> $this-&gt;setLayout('quantity');
> echo $this-&gt;loadTemplate();
> ?&gt;
> &lt;input type="hidden" name="product\_id" value="&lt;?php echo $this-&gt;row-&gt;product\_id; ?&gt;" /&gt;
> &lt;input type="hidden" name="add" value="1"/&gt;
> &lt;input type="hidden" name="ctrl" value="product"/&gt;
> &lt;input type="hidden" name="task" value="updatecart"/&gt;
> &lt;/form&gt;&lt;?php
> }?&gt;

Sorry to sound thick but what and where do I need to add everything. In my defence I have flu.

Thanks

Last edit: 15 years 8 months ago by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#7534](#7534) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#7534 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

As I said, to show the discount, you don't need to edit the view. If you want to move around things in the view or add stuff in it we cant really help you without more precise questions.

Besides, we answer questions but we don't program custom views on the forum... I hope you understand...

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago -  15 years 8 months ago [\#8642](#8642) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8642 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Hi Nicolas sorry to be a pain, but is there any documentation that could talk me through how to configure this?

Last edit: 15 years 8 months ago by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#8643](#8643) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8643 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

There is no such documentation but as I said, if you ask precise questions like "I want do revert the name and the price, how can I do ?", we can answer you.

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago -  15 years 8 months ago [\#8748](#8748) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8748 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Ok. Step by step. If you look at [ ](http://212.113.133.235/~englishr/index.php?option=com_hikashop&ctrl=category&task=listing&cid=22&name=literary-criticism&Itemid=53)[ 212.113.133.235/~englishr/index.php?opti...-criticism&amp;Itemid=53](http://212.113.133.235/~englishr/index.php?option=com_hikashop&ctrl=category&task=listing&cid=22&name=literary-criticism&Itemid=53) the price appears before the title. How can I change this so the book title appears first and the price underneath?

Last edit: 15 years 8 months ago by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#8756](#8756) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8756 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

You can just switch the code:

&lt;?php
}
if($this-&gt;params-&gt;get('show_price')){
$this-&gt;setLayout('listing_price');
echo $this-&gt;loadTemplate();
}
?&gt;

with the code:

&lt;span class="hikashop_product_name"&gt;
&lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;a href="&lt;?php echo $link;?&gt;"&gt;
&lt;?php }
echo $this-&gt;row-&gt;product_name;
if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;/a&gt;
&lt;?php } ?&gt;
&lt;/span&gt;

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago [\#8832](#8832) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8832 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

I have swapped these around under Display &gt; Views &gt; product &gt; listing_img_title

And its works on all but one listing. [ 212.113.133.235/~englishr/index.php?opti...ce-fiction&amp;Itemid=53](http://212.113.133.235/~englishr/index.php?option=com_hikashop&ctrl=category&task=listing&cid=25&name=science-fiction&Itemid=53) Or does it take a bit of time to take effect?

Please advise.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#8835](#8835) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8835 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

The price and the name are switched. But there is a float:left; in you CSS on the product name which you should remove (just the float:left; line):
span.hikashop_product_name {
margin-left: 5px;
font-weight: bold;
float: left;
display: block;
margin-bottom: 5px;
}

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago [\#8837](#8837) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8837 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Great that works. the component creates an add to cart link for each product. How can I change this to an add to cart button?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#8838](#8838) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8838 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Unless you activated the "catalogue mode" option in the config under the tab display, you should not need to add the "add to cart" html in your product description. The add to cart button should be generated automatically by HikaShop.

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

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago [\#8842](#8842) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  Replied by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8842 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

Sorry I must be thick, Under **System &gt; Configuration** then where? ![:unsure:](/media/kunena/emoticons/22.png ":unsure:")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc0MzgtaW5jbHVkZS1hLXNtYWxsLWJpdC1vZi10ZXh0LWFuZC1idXktbm93LWJ1dHRvbj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14263
-
-

15 years 8 months ago [\#8846](#8846) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Include a small bit of text and buy now button](/forum/4-how-to/7438-include-a-small-bit-of-text-and-buy-now-button#8846 "Hi  At the moment, I have my products listed under category as just the image and the title. Is it possible I could include a small bit of text  Basically we sell books and we would like to list in the following layout:  Image - then Title. Author Name Save 20% off RRP save £... Add to cart button  Can that be done?  Please advise how I can go about that.")*

under the display tab.

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

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

[](#top)
