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

#   Products Listing Format Change

##

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19717](#19717) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  *[Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19717 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")* was created by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")*

Hi,

I'm using Menu Item Type "products listing" showing "table" layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why "12 spaces available" is showing up on the first line, and then description and the price and the "Register" button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing_table but I don't see anything that I can control the layout as described above.

Thanks,
-Jackson

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Products_Listing.PNG) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Products_Listing.PNG "&#91;img")

- [ ![Products&#95;Listing.PNG](/forum/attachment/1342) ](/forum/attachment/1342 "...ts&#95;Listing.PNG") [ ](/forum/attachment/1342?download=1 "...ts&#95;Listing.PNG")

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

15 years 5 months ago [\#19732](#19732) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19732 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

That's because there is a clear between the stock and the button. You should be able to have it all on one line with some CSS.
If you can give the link to that page we should be able to tell you what CSS to use.

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19740](#19740) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19740 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

I'm assuming you want the link to the website? Here you go!

[ logoslearningadventures.com/index.php?op...t=listing&amp;Itemid=233](http://logoslearningadventures.com/index.php?option=com_hikashop&view=product&layout=listing&Itemid=233)

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

15 years 5 months ago [\#19742](#19742) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19742 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

So, the right column is displayed by the quantity file of the view product. That same view file is also used to display the stock &amp; button on the product page.
The two &lt;br/&gt; which make them display on two lines are in that code of the file:
echo '&lt;span class="hikashop_product_stock_count"&gt;'.JText::sprintf('X_ITEMS_IN_STOCK',$this-&gt;row-&gt;product_quantity).'&lt;/span&gt;&lt;br/&gt;';
$config =&amp; hikashop_config();
if($config-&gt;get('button_style','normal')=='css'){
echo '&lt;br /&gt;';
}

If you remove the &lt;br /&gt; tags there, then you can just add some CSS:
.hikashop_product_add_to_cart_row{white-space:nowrap;}
and everything will be on one line on your listing.

However, the stock &amp; button will also be on one line on the product page if you just remove the br tags. So instead you should have a check like that...:
if(JRequest::getVar('task')=='listing'){
//no br
}else{
//display br
}

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19743](#19743) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19743 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Nicolas,

I can't find the info. you are describing in the "listing_table" view file. Which one should I use?

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

15 years 5 months ago [\#19745](#19745) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19745 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

it is not in the listing_table view file but in the quantity view file as I said in my previous post.

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19748](#19748) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19748 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Awesome! It worked!

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19825](#19825) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19825 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Hi Nicolas,

Sorry to bother you again (I'm a novice of PHP). Now for the product page, I'm showing the price under the product name and then Register (add to cart) and then the availability quantity in a separate line (see attached).

I'd like to have the price, inventory, and then the Register (add to cart) all in one line.

For example,

$64.00 /session 12 spaces avail. [Register]

Instead of what's showing now. I know I need to change it at the "Quantity" view. Please advise.

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/product_page.PNG) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/product_page.PNG "&#91;img")

-

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

15 years 5 months ago [\#19827](#19827) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19827 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Your website is not accessible so we can't check on that.

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19831](#19831) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19831 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Nicolas,

please use:

U: guest
P: nicolas

and use this link:

[ logoslearningadventures.com/index.php?op...3&amp;category\_pathway=0](http://logoslearningadventures.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=27&name=american-girl-3-6-grade-session-1&Itemid=233&category_pathway=0)

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

15 years 5 months ago [\#19832](#19832) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19832 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

You first need to edit the file show of the view product and remove the &lt;br/&gt; tag after the hikashop_product_price_main block.

Then you can add some CSS in your hikashop css file (via the interface in the Display tab of the config):
.hikashop_product_price_main, .hikashop_product_quantity_main {
display: inline-block;
}
.hikashop_product_stock_count{
float: left;
}

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19834](#19834) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19834 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Awesome! It worked. The only thing now is that they are displaying too close to each other (no spaces). No big deal ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19835](#19835) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19835 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Nicolas,

Sorry to bother you again, can you help me with the spaces between the price, product stock count, and register (add_to_cart) and also add an extra line or two after the [Register] so that the body of the product description is not too close to it.

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

15 years 5 months ago [\#19837](#19837) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19837 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

You can use that CSS:
.hikashop_product_stock_count {
margin-left: 6px;
margin-right: 6px;
}
.hikashop_product_bottom_part{
padding-top : 10px;
}

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19838](#19838) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19838 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Awesome! Once again, Nicolas delivers... ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")**
- [![tsaiism's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2832.gif)](/forum/user/2832-tsaiism "View tsaiism's Profile") Topic Author
- [ Offline](/forum/user/2832-tsaiism)

Less More

- Posts: 20
- Thank you received: 0
-
-

15 years 5 months ago [\#19842](#19842) by [tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")  Replied by *[tsaiism](/forum/user/2832-tsaiism "View tsaiism's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19842 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

One more question on the formatting of the product page. Is there a way to either to show the price, stock count, and add-to-cart button to the right of the page or before the product name? This way, the product name and the product description can flow better without being interrupted by the price, stock count and add-to-cart button.

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

15 years 5 months ago [\#19843](#19843) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Products Listing Format Change](/forum/4-how-to/19717-products-listing-format-change#19843 "Hi,  I'm using Menu Item Type &quot;products listing&quot; showing &quot;table&quot; layout. Enclosed is what the page looks like. My queston is why is the table listing not showing up in one line. What I mean is why &quot;12 spaces available&quot; is showing up on the first line, and then description and the price and the &quot;Register&quot; button on a separate line (total 3 lines, instead of 1). I tried Display&gt;View and looking at the PHP file for listing&#95;table but I don't see anything that I can control the layout as described above.  Thanks, -Jackson")*

Sure. You need to edit the file show of the view product and move the hikashop_product_name_main block just before the hikashop_product_description_main block.

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

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