Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: New Template HTML5 problem  (Read 8461 times)

Offline smallfish

  • Full Member
  • ***
  • Posts: 129
  • Karma: +15/-2
    • View Profile
New Template HTML5 problem
« 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?

Offline Evolution

  • Newbie
  • *
  • Posts: 19
  • Karma: +2/-0
    • View Profile
    • Voltisoft
Re: New Template HTML5 problem
« Reply #1 on: July 27, 2013, 01:59:28 PM »
Hi smallfish,

Do you mind taking a screenshot so we know what you mean?

Offline smallfish

  • Full Member
  • ***
  • Posts: 129
  • Karma: +15/-2
    • View Profile
Re: New Template HTML5 problem
« Reply #2 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.
« Last Edit: July 28, 2013, 03:12:54 PM by smallfish »

Offline smallfish

  • Full Member
  • ***
  • Posts: 129
  • Karma: +15/-2
    • View Profile
Re: New Template HTML5 problem
« Reply #3 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.
« Last Edit: July 28, 2013, 02:57:34 PM by smallfish »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: New Template HTML5 problem
« Reply #4 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.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline smallfish

  • Full Member
  • ***
  • Posts: 129
  • Karma: +15/-2
    • View Profile
Re: New Template HTML5 problem
« Reply #5 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.

Offline smallfish

  • Full Member
  • ***
  • Posts: 129
  • Karma: +15/-2
    • View Profile
Re: New Template HTML5 problem
« Reply #6 on: July 30, 2013, 03:13:27 AM »
In the meanwhile, how can I hide the product description in the product list?

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: New Template HTML5 problem
« Reply #7 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>
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline smallfish

  • Full Member
  • ***
  • Posts: 129
  • Karma: +15/-2
    • View Profile
Re: New Template HTML5 problem
« Reply #8 on: July 30, 2013, 09:05:58 AM »

 

Powered by SMFPacks Social Login Mod