Author Topic: How do you edit pages in HTML  (Read 2689 times)

Offline stephanie

  • Newbie
  • *
  • Posts: 17
  • Karma: +2/-0
    • View Profile
How do you edit pages in HTML
« on: June 08, 2020, 08:45:50 AM »
I have the exact same question as http://forum.abantecart.com/index.php/topic,3711.msg15999.html#msg15999 posted in 2015 but the answer given does not solve my problem, and it says to start a new thread cause the previous one is older than 120 days, so here goes:

I want to be able to edit any and all pages of Abantecart with HTML and ideally also CSS. The solution in the post above says to use the blocks. I don't want to do that, because I want to integrate the home page of Abantecart (the shop front) into my existing website and add my own navigation bar on the top, like this screenshot attached (I am using BlueGriffon WYSIWYG editor). 

As you can see, I added my own navigation bar at the very top of the page. I did this by going to my store front then right clicking and selecting "view source" and copy pasted the code to the HTML editor. But, after I save it, where do I upload this HTML file?

I also asked another question about the changes in CSS not showing in the page, please have a look at that too.
Thank you

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: How do you edit pages in HTML
« Reply #1 on: June 08, 2020, 08:52:53 AM »
Hello.
When you save the HTML or any other blocks the data is saved to the database. You can not save .html file

If you prefer static pages maybe you should look into the embed feature see our demo where products embedded to pure HTML page.
https://www.abantecart.com/embed_demo/index.html
https://abantecart.atlassian.net/wiki/spaces/AD/pages/5799960/Embed+Products+to+HTML


Offline HADY

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: +27/-5
    • View Profile
Re: How do you edit pages in HTML
« Reply #2 on: June 09, 2020, 07:10:00 AM »
Hi!


I think you can edit next file and add some codes:


/public_html/storefront/view/default/template/common/header.tpl
Thank you In Advanced
Regards
HADY

 

Powered by SMFPacks Social Login Mod