AbanteCart Community

AbanteCart Development => New Features Discussion => Topic started by: Garry on November 06, 2012, 08:42:09 AM

Title: install new options for product
Post by: Garry 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?
Title: Re: install new options for product
Post by: abolabo 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
Title: Re: install new options for product
Post by: Garry 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!  :-\
Title: Re: install new options for product
Post by: abolabo 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.
Title: Re: install new options for product
Post by: Garry on November 06, 2012, 11:20:53 AM
Thank you! for the advice! I'll try to do it!