Author Topic: making a duplicate of the default html 5 template?  (Read 2038 times)

Offline 4thstar

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-0
    • View Profile
making a duplicate of the default html 5 template?
« on: October 10, 2013, 05:04:06 AM »
Hello.
Can anyone advise as to how i can make a duplicate of the default template?
I have edited the blues to be green, also blues to be red.

I would like to create new templates i can import into other stores i.e. default5_red, default5_green

i dont see how to export and there seems to be more involved than making a copy of the folder and renaming it?

Many thanks
Carl

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 3963
  • Karma: +241/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: making a duplicate of the default html 5 template?
« Reply #1 on: October 11, 2013, 04:01:13 PM »
You are right, you can not simply copy folders. The reason for this, you need to clone layout related database details as well.

We have intended to have new templates to be created as extensions.
We plan to add ability to clone templates and create extensions based on them in future version.

For now, there is a work around.
1. You can create based template extension with "extension developer tools"
https://github.com/abantecart/developer_tools_extension
Copy template files that you need to override to extension directory and edit them

2. You can copy and rename default template and rename directory. You will need to create SQL commands to create or clone layouts for new template.

 
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

 

Maternity Dress