product sale start date and end date

  • Posts: 17
  • Thank you received: 0
11 years 11 months ago #79246

i am handling a on-line training website.Where i have to give when the training will be start and when it will going to end. i tried with product sale start date and end date but it is not allowing the customer to purchase the training before the date or after the date.but i want to sell my training before the product sale date and end date. plz help me with this.The product "Medical Device Complaint Handling Systems" is not yet on sale- i don't want to display this message also.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #79278

Hi,

If you don't exactly know when the sales of your products will start and end, but that you want to sell your products now, you'll just have to don't use the "Product available from/until" options of your product page.

Hope this will help you.

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
11 years 11 months ago #79288

Thanks for your reply .is their any way to put training starting time and ending time in the product page.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #79292

Instead of using the "Product available from/until" feature you can maybe do it through the product description :).

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
11 years 11 months ago #79440

Can u plz tell me the code location for "product sales start/end date".i want to use those field as my on-line training start and end date nd time.but i want to remove the restriction of purchasing the training according to the value of those field.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #79470

Hi,

Why not use the custom fields ? With a custom field on the table "product" you can set the date of the session (start & end).
And still use the product sales start and product sales end.

Else write the date in the description.

The check on the fields is directly done in the view "product / quantity" in HikaShop > Display > Views.

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
11 years 11 months ago #79474

Thanks for your reply..Actually i am using hikashop starter version so i don't have the option to add custom field.can you just tell which line of code i have to edit to achieve my goals ......

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #79580

Hi,

Sorry but we can't provide it. Because we don't have the same lines in our files, and because this feature is already present in HikaShop.

HikaShop starter allow you to create a shop with normal options, it's already a complete solution. If you need more options, you have to upgrade.
Thank you for your understanding.

Regards.

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
11 years 11 months ago #79582

Thanks for your reply. Your getting me wrong i want to how to use "product sale start and end time" as my training start time and end time.To use this filed which code of line i have to edit.means i want to remove the field check option from those field.

Please Log in or Create an account to join the conversation.

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #79610

Hi,

"product sale start" and "product sale end" are options for the indication on where the product would be available and when the product will stop to be sell.
These options would "block" the access of the product. It means that, after the sale end, the product wouldn't be available.
You can display theses values but, outsides theses dates, it would not be possible to see the product.
To display them, you have to edit the "product show_default" view and

if(!empty($this->element->product_sale_start))
  echo date("m/d/Y", $this->element->product_sale_start);
Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
11 years 11 months ago #79633

Thanks for your reply i think the easiest option is to create a custom field for product back end.But my question is how can i call that custom field value in my product page in a specific position..

Please Log in or Create an account to join the conversation.

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #79639

Hi,

If you want product custom field, as already explain, the HikaShop essential version would be required.
After that, product custom field which are configured as "display in front-end" would be display in the product page.
You be able to change the design using CSS or to change the HTML using view override.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
11 years 11 months ago #79644

Yea i will go for essential version but any specific code to call that value(what ever we will enter in back-end) directly on the front-end.

Please Log in or Create an account to join the conversation.

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #79654

Hi,

No specific code would be required.
If you want to be sure, you can try it thanks to our demo website : demo.hikashop.com/
You can go in the backend, create a new product custom field (type: date), update a product and see the result in the front end.

Best regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 11 years 11 months ago by Jerome.

Please Log in or Create an account to join the conversation.

Time to create page: 0.115 seconds
Powered by Kunena Forum