Author Topic: Edit the Home page  (Read 13971 times)

Offline cyberfreak

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
    • Website Design
Edit the Home page
« on: October 20, 2015, 08:22:57 PM »
I can't figure out how to edit the home page. There is text on there that says "Featured See Our Most featured Products". I read for hours in the document manual and can't see any place that really tells how to edit the default pages. I have managed to get all my products on the cart and changed the logo but now I am stuck. :-(






Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Edit the Home page
« Reply #1 on: October 20, 2015, 10:42:51 PM »
AbanteCart uses xml files to let you change most of the inputs,  when you can't get to them on a block, or page.  Here's the info about how to do that.

http://docs.abantecart.com/pages/localization/language_definitions.html

Just go to the system > localization > language definitions  and type in  "featured"  in the translation field, and click enter,  that will bring up the places that you want to change. 

Important to note when you click on the edit  -  be sure the Section  says Storefront  -  that means you will be changing what your customers see.   Some will also have Admin   and that changes what the Admin sees.   

Post back if you need additional help.

Lee

Offline cyberfreak

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
    • Website Design
Re: Edit the Home page
« Reply #2 on: October 21, 2015, 07:25:55 PM »
Hello that helped me fix the one bit of text, thanks. I was also hoping it would explain how to get to the actual html pages to make further edits. I know how to edit html but I am fairly new at the whole shopping cart thing. It's been a good learning curve so far. In particular what I am looking to change is how the items listed in bestsellers is shown and also newest products. I am assuming that if I put in new products those will reflect in there, but is there a way to manipulate how they are done automatically?

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Edit the Home page
« Reply #3 on: October 21, 2015, 09:57:22 PM »
These are actually managed within the database tables.   
latest are shown based on the date that were added to the system.
Best sellers by the number of items ordered within the system.

Have you looked at the system settings to see if you can adjust these two to your design?
There are a l lot of settings within the cart that keeps things working from version to version.  So editing the CSS (not html)  is usually the last choice. 

What is it you're wanting to change?  Perhaps there is a way other than editing the code.



Offline pberdas

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Edit the Home page
« Reply #4 on: October 22, 2015, 07:56:37 PM »
Hello cyberfreak, if you know html (perhaps maybe some PHP) the best bet is to use the devolopers console in you browser and inspect the element you want to edit.  Then go to the actual files in your server and edit them manually.   What you want to change ?

Offline cyberfreak

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
    • Website Design
Re: Edit the Home page
« Reply #5 on: October 23, 2015, 04:17:37 PM »
Hello,

I looked in the system settings and the best seller, featured, latest and special all have number of items set to 4. I was hoping that I could just eliminate them but keep the featured. If I switch the value to 0 (zero) it gives me an error. If I want to remove them totally how would I do that?

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Edit the Home page
« Reply #6 on: October 23, 2015, 04:48:33 PM »
http://docs.abantecart.com/pages/design/layouts.html

You disable those blocks on your HOME page.

AbanteCart has a very handy block system  that easily allows you to turn blocks on/off ,  relocated them to other positions, etc. 

read the above section on design and if you need further assistance,  post back.

Lee 

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
Re: Edit the Home page
« Reply #7 on: March 25, 2016, 05:27:58 AM »
Hi there,

Can adjust home page products to 5 items in one row?

Thanks.

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
Re: Edit the Home page
« Reply #8 on: March 28, 2016, 11:09:56 PM »
Hi there,

Anyone know?

Thanks.

yonghan

  • Guest
Re: Edit the Home page
« Reply #9 on: March 28, 2016, 11:52:45 PM »
Hi Kok, i wonder if you have looked at the admin->General->Settings page? You can choose to show how many items that you want to show in the featured, bestsellers, latest and special blocks.

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
Re: Edit the Home page
« Reply #10 on: March 31, 2016, 04:12:12 AM »
Hi handoyo,

Yes, I know can setting how many items to show at General page, but my question is how to set 5 items in one row, not the currently setting 4 items in one row.

Thanks.

yonghan

  • Guest
Re: Edit the Home page
« Reply #11 on: March 31, 2016, 04:56:10 AM »
You need to change the default numbers in this file:

https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/blocks/product_list.tpl

Change line 24

From:
Code: [Select]
if($icount == 4) {
Become:
Code: [Select]
if($icount == 5) {
and change line 32 too.

From:
Code: [Select]
<div class="col-md-3 col-sm-6 col-xs-12">
Become:
Code: [Select]
<div class="col-md-2 col-sm-6 col-xs-12">
NOTE: You need to understand bootstrap layout and css in order to get items displayed correctly.

Hope it helps.

Offline skyetechnocrat

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Edit the Home page
« Reply #12 on: November 12, 2019, 09:14:42 PM »
My questions are two actually.
firstly i want to edit the name "Specials" to "Categories"
then list some categories there instead of products.

My second question is that, i wish to install Google analytics.
I dont know how to view the codes so i can edit them.

Any help will be appreciated

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5772
  • Karma: +274/-2
    • View Profile
Re: Edit the Home page
« Reply #13 on: November 14, 2019, 02:52:01 AM »
skyetechnocrat, please create a separate topics for each questions.
And search the forum your questions already replied

https://abantecart.atlassian.net/wiki/spaces/AD/pages/6717462/Google+Analytics
https://abantecart.atlassian.net/wiki/spaces/AD/pages/15466660/Language+Definitions

 

Powered by SMFPacks Social Login Mod