VirtueMart Forum

VirtueMart 2 + 3 => Administration & Configuration => Topic started by: The Yellow Fellow on June 21, 2016, 14:39:52 pm

Title: Custom date (user)field not showing in cart view and orders view
Post by: The Yellow Fellow on June 21, 2016, 14:39:52 pm
I have created several user input fields, some text fields for remarks and some date fields. In the cart (frontend) and in the order details (backend) the remarks are visible, but the dates the user chose are not.
I can see they're saved when I examine the virtuemart_orders table in the database, but they don't show up for the shop administrator.
What can I do?
(versions: J3.5.1 / VM3.0.16)
Title: Re: Custom date (user)field not showing in order
Post by: GJC Web Design on June 21, 2016, 18:21:02 pm
Quote
but they don't show up for the shop administrator

where don't they show?
Title: Re: Custom date (user)field not showing in order
Post by: The Yellow Fellow on June 22, 2016, 16:03:54 pm
They don't show up in the order details  :(
Title: Re: Custom date (user)field not showing in order
Post by: Studio 42 on June 22, 2016, 16:39:44 pm
Is this enabled in this view ?
Title: Re: Custom date (user)field not showing in order
Post by: The Yellow Fellow on June 30, 2016, 17:14:36 pm
I'm not aware of the possibility to enable or disable showing certain types of Custom (user input) fields in the Order details view (in the backend).
(But i'd like to know where it is...)
Title: Re: Custom date (user)field not showing in order
Post by: Studio 42 on June 30, 2016, 22:34:52 pm
I mean in the cart view.
You can disable or enable fields by views, this can change how it's displayed in order view.
Note : if you have same setting as other fields(remarks) forgot what i wrote and this can be then a potential bug.
Title: Re: Custom date (user)field not showing in order
Post by: The Yellow Fellow on July 01, 2016, 11:52:17 am
Yes I do have the same settings as (for instance) a Customer input field.
Title: Re: Custom date (user)field not showing in order
Post by: Malex on August 02, 2016, 12:17:58 pm
Hello, i have the same problem, custom date field enabled, Cart Attribute and Cart Input enabled, but in product view, when selecting a date and ordering, not showing in cart view.

Joomla 3.6.0
VirtueMart 3.0.14            
Title: Re: Custom date (user)field not showing in order
Post by: Studio 42 on August 02, 2016, 17:47:57 pm
Hi, perhaps, it's solved in new release?
Can you update Joomla + Virtuemart on a test server ?
Note : 3.0.14 do not work properly with Joomla 3.6.0, if you don't applied the VM patch for emails
Title: Re: Custom date (user)field not showing in order
Post by: The Yellow Fellow on August 03, 2016, 13:16:44 pm
Hmm I'm using VM 3.0.16, but the latest version in the VM download site is 3.0.14 ?! So updating will be difficult I think...
And what is this VM patch for emails you're talking about? I did update Joomla in the mean time, by the way.
Title: Re: Custom date (user)field not showing in order
Post by: Malex on August 03, 2016, 13:33:58 pm
Thank's for your reply, but no, i've installed new 3.0.17.4 version with Joomla 6.0, no change ...
 :'(
Title: Re: Custom date (user)field not showing in order
Post by: Malex on August 03, 2016, 13:35:11 pm
Hmm I'm using VM 3.0.16, but the latest version in the VM download site is 3.0.14 ?! So updating will be difficult I think...
And what is this VM patch for emails you're talking about? I did update Joomla in the mean time, by the way.

You cand find files here : http://dev.virtuemart.net/projects/virtuemart/files

regards
Title: Re: Custom date (user)field not showing in cart view and orders view
Post by: The Yellow Fellow on August 08, 2016, 15:46:38 pm
I updated to Joomla 3.6.2 and VM 3.0.17.4 and created a new date custom field, added it to an article, ordered it, but still no date shows up in Cart view (frontend) or Orders view (backend).
The date does appear in the database though...
Title: Re: Custom date (user)field not showing in cart view and orders view
Post by: lavoro83 on December 13, 2016, 15:36:11 pm
I have this problem too.
I use Joomla! 3.6.0    and VirtueMart 3.0.18.

I have created Custom Field Type: Date with settings  Cart Attribute and Cart Input set to Yes.  In this case a calendar is shown in frontend and when the client chooses a date (es.Arrival Date) it's not shown neather in the cart nor in the order information.

If I change the settings to Cart Attribute - Yes and Cart Input - No than in the frontend the calendar is gone and automatically is shown today's date. In this case this date (today's date) is shown in the cart and order details.

How I can set this custom filed to work that the client chooses by himself the arrival date and this date is shown in the cart and order details???

Title: Re: Custom date (user)field not showing in cart view and orders view
Post by: AH on December 13, 2016, 16:53:01 pm
Please check the integrity of your current site and review this joomla security release

https://www.joomla.org/announcements/release-news/5678-joomla-3-6-4-released.html (https://www.joomla.org/announcements/release-news/5678-joomla-3-6-4-released.html)
Title: Re: Custom date (user)field not showing in cart view and orders view
Post by: recusant on December 17, 2016, 02:06:52 am
Looks like I have the same issue.  When I create a custom field of type date, it shows up OK on the front end and you can select a date from the calendar but when you go to the cart neither the label ("arrival date") nor the date entered shows up. There's no label or date stored in the order in the admin and no label or date in the email. The data, however, is being stored in the virtuemart_order_items table in the product_attribute field. It would be great to get it working because the datepicker makes all the difference when it comes to different date formats being entered in a plain-text input.

Has anyone had any success using custom field of type:date on VM 3.0.16 or later?

This is on VirtueMart 3.0.18 running on Joomla! 3.6.5
PHP 5.4.38

Been at it too long... I'm now struggling to get the sum right in the wee captcha - lol
Soon be Christmas  :)
Title: Re: Custom date (user)field not showing in cart view and orders view
Post by: Studio 42 on January 09, 2017, 19:21:54 pm
Hi all,
I wrote this week a datepicker plugin.
It as many feature, as disable dates, start/end dates .... so you can use it for many situation.
The inputed date validity is controlled and you can choose if date is mandatory or not.
Here a screen shot with some options active :
(http://shop.st42.fr/images/stories/virtuemart/product/vmcustom_date_datepicker.png)
More details http://shop.st42.fr/en/products/date-for-cart-with-picker.htm (http://shop.st42.fr/en/products/date-for-cart-with-picker.htm)
Patrick
Title: Re: Custom date (user)field not showing in cart view and orders view
Post by: AH on January 10, 2017, 09:47:12 am
Hi @42

Nice plugin!

Not sure if your datepicker has this functionality (after reading your product description)

It might be useful for many users if it had:-

Non-selectable Holiday dates (d/m)
Title: Re: Custom date (user)field not showing in cart view and orders view
Post by: Studio 42 on January 10, 2017, 11:12:15 am
Hi @42

Nice plugin!

Not sure if your datepicker has this functionality (after reading your product description)

It might be useful for many users if it had:-

Non-selectable Holiday dates (d/m)
You can add it manually in the product edit(using the datepicker or using the input field) this are mysql formated with comma separator, so It's pretty simple to add.
Perhaps i can add this option in the general customfield settings too if some user request the feature.