AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: smallfish on July 27, 2013, 03:03:08 AM

Title: New Template HTML5 problem
Post by: smallfish on July 27, 2013, 03:03:08 AM
Don't know why it will show all the details page of the item by choosing the category which is showed by list form. (not grid form).
This may be caused by some un-tidy html code.
How can fix it if I don't try to fix the un-tidy html code?
Title: Re: New Template HTML5 problem
Post by: Evolution on July 27, 2013, 01:59:28 PM
Hi smallfish,

Do you mind taking a screenshot so we know what you mean?
Title: Re: New Template HTML5 problem
Post by: smallfish on July 28, 2013, 02:33:52 PM
here is the attached screen for your reference.
It displays all the details of the item's page.
It should limit the total no. of rows/lines can be displayed. (ie. 10 rows/ lines only)
Don't kwno whether this is caused by an incompleted html code or the default behaviour/design of abantecart.

This list form should only display the brief description only. (For my case, there have a few large pictures and long description inside in the item page). But abantecart doesn't has brief description in the design.

===================================
After I have tested the official abantecart website demo, it is default behaviour of abantecart in list format. Because there is no brief description in abantecart. So that it shows all the content of the item description.....

===================================
I think that abantecart should add  the "brief description field" both in database and the backend and let the products list in a category (list format) display the brieft description instead of the "descritipon" field.
Title: Re: New Template HTML5 problem
Post by: smallfish on July 28, 2013, 02:45:50 PM
this is another problem if there is incompleted html code inside in the item's description.
The category listing page (in grid format) will also show the details of the items on this page.
Title: Re: New Template HTML5 problem
Post by: abantecart on July 28, 2013, 06:14:14 PM
===================================
I think that abantecart should add  the "brief description field" both in database and the backend and let the products list in a category (list format) display the brief description instead of the "descritipon" field.

Yes, this is good point. We can create a Product Blurb that will be non-HTML and be shown in places you describe.
Title: Re: New Template HTML5 problem
Post by: smallfish on July 30, 2013, 02:37:47 AM
===================================
I think that abantecart should add  the "brief description field" both in database and the backend and let the products list in a category (list format) display the brief description instead of the "descritipon" field.

Yes, this is good point. We can create a Product Blurb that will be non-HTML and be shown in places you describe.

Besides, if my product description contains in-completed html code. The grid-format category list will also show the product details under the grid list. Please make the HTML5 grid list doesn't affect by this.
Title: Re: New Template HTML5 problem
Post by: smallfish on July 30, 2013, 03:13:27 AM
In the meanwhile, how can I hide the product description in the product list?
Title: Re: New Template HTML5 problem
Post by: abantecart on July 30, 2013, 08:44:52 AM
File:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default_html5/template/pages/product/product_listing.tpl

Line: 93

Remove:
Code: [Select]
<div class="productdiscrption"><?php echo $product['description']?></div>
Title: Re: New Template HTML5 problem
Post by: smallfish on July 30, 2013, 09:05:58 AM
File:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default_html5/template/pages/product/product_listing.tpl

Line: 93

Remove:
Code: [Select]
<div class="productdiscrption"><?php echo $product['description']?></div>

Good! Thank you!