Author Topic: install new options for product  (Read 4358 times)

Offline Garry

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
install new options for product
« on: November 06, 2012, 08:42:09 AM »
I have a small travel company. I want to run your program.
I need to add a new category of product options such as choice of departure date to connect the calendar and choose the date of arrival.
How to do it?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1780
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: install new options for product
« Reply #1 on: November 06, 2012, 09:58:00 AM »
Hello.
you can create new product option as global attribute. Check field type "date".
Also read this
http://www.abantecart.com/ecommerce-documentation/69-admin-user-manual/catalog-menu/global-attributes
« Last Edit: November 06, 2012, 10:00:53 AM by abolabo »
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Garry

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: install new options for product
« Reply #2 on: November 06, 2012, 10:22:39 AM »
I did it!
I need to display a calendar. People were able to choose the date of departure and date of arrival!  :-\

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1780
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: install new options for product
« Reply #3 on: November 06, 2012, 11:01:11 AM »
Sorry, but we have no calendar on v.1.1.1 storefront yet.
But we already included it in v.1.1.2.

So, you can change your storefront/view/default/template/pages/product/product.tpl file and add datepicker js-script for attribute field.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Garry

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: install new options for product
« Reply #4 on: November 06, 2012, 11:20:53 AM »
Thank you! for the advice! I'll try to do it!

 

Powered by SMFPacks Social Login Mod