customfields data is required (cart66 + wordpress error message) - wordpress

I have installed cart66 professional in my wordpress site.
i have configured cart66 with payleap.
in the checkout page, when complete the order by filling all the required information, and clicking the 'Complete Order' button link, after little process it displays following message.
we're sorry
your order could not be completed for the following reasons:
customfields data is required
do anyone have any idea about this?
thanks in advance.

I think in your theme you need to insert custom field data which required.
for ex.
price is define custom field then add custom field.
price : 34$
Fore more info...
http://codex.wordpress.org/Custom_Fields

Related

Wordpress ACF fields disappeared

I have been working with wp for a while now but just ran into a bug, that I can not fix with the information found in the internet.
I was editing a acf field. When I was finished writing into one of the fields, I mistakenly pressed enter. The page started reloading and all fields were gone. When going to the frontend, everything is displayed properly.
I tried to reactivate my ACF fields via the screen options what did not work. I inserted some code lines into my functions.php. or into the input.css because I thought maybe the right checkbox for the ACF fields to be displayed was missing. Nothing helped. Is there any other way to fix this issue.
thx in advance
greetings
I just come through this problem : for one of my field group, the fields box just disappeared at some point and I had no way no retrieve it thanks to the Wordpress Admin interface.
I don't know the reason why, but it appears that in my case, ACF registered some "unwanted" user meta in my database. (how is the question)
If you look inside your DB at the usermeta table content you will probably find some ACF entries like : metaboxhidden_acf-field-group or closedpostboxes_acf-field-group and maybe others...
The one causing trouble for me was meta-box-order_acf-field-group : I simply deleted the entry (but you can try editing it to remove the reference of your "lost" box) and the problem was solved.
Maybe too late to help you, but hope it can still help someone !
##EDIT##
Seems I may have a clue about how the box disappeared
Steps to reproduce :
Create a field group and associate it with whatever post type you have
Go create a whatever post (note : the Gutenberg editor is active on this edit page)
You should find your fields group at the bottom of the page
Try to move the group meta box above the Gutenberg editor (without success because it seems not possible)
Save your post
Come back to the edit page of the field group and refresh it
Tadaaa ! the fields group box is not available anymore
Go to your database, the usermeata table, you will find the entry causing the trouble again : meta-box-order_acf-field-group = a:3:{s:4:"side";s:32:"submitdiv,acf-field-group-fields";s:6:"normal";s:57:"acf-field-group-locations,acf-field-group-options,slugdiv";s:8:"advanced";s:0:"";}
I solved the problem by adding a custom script for the ACF with delete class closed on #acf-field-group-fields:
document.addEventListener("DOMContentLoaded", function(event) {
document.querySelector('#acf-field-group-fields').classList.remove('closed');
});

ACF - Not displaying custom fields or groups on Custom post Type on edit / new admin page

Hi there I working on directory kind website with WordPress and AIT-FoodGuide Theme
Now I stuck... here I trying to add Custom Field with ACF But It not showing on custom post type "items" edit page(backend) of users
[note:But this fields visible to administrator only]
Will you please try to find my what is the problem and what possible solution.
Custom Post type is ITEM
Not Showing to all other user e.g author editor role etc..
I Also Checked pulling ACF of normal post type.... and it works for every other user roles too..
ON TRIAL AND ERROR I also figure out it might be it's problem of user capability... Any suggestion which one is ideal?

Woocommerce - : Sorry, this product cannot be purchased

my woocommerce was working but all of sudden i am getting this error when i try to add product to cart. “Sorry, this product cannot be purchased.”
I haven’t done any modification in the theme.
please help
That error has only appeared to me when the product I want to add has not Price (Regular Price, Variable Price or any default price) set AND I try to add it directly through URL parameters (it also applies when adding an out of stock product).
Can you provide more info? You try to add it with the Ajax Button? or other method? The Product you have, has price/stock set?
I just made a quick test in my site and its the same error message

Advanced custom fields for wordpress

Advanced custom fields for wordpress... Plugin
source: http://support.advancedcustomfields.com/discussion/2784/image-fields-on-custom-post-type-values-have-all-gone
I updated my advanced custom fields and all image field values have disapeared.
I checked in the database and i still see the information but they're not linking up correct.
God.. any ideas? :(
You'd better check out the depreciated bits of code. I found this same issue with the_repeater_field (http://www.advancedcustomfields.com/docs/functions/the_repeater_field/) it got depreciated and I had to update my code to the right functions.
Check this page out to see if any of these relate to your problem: http://www.advancedcustomfields.com/docs/functions/
Checkout Bonzer Custom Fields Creator:
https://wordpress.org/plugins/bonzer-custom-fields/
It creates wide array of input fields at various places inside the wordpress admin panel.
Places in the wordpress admin panel where custom fields are applicable includes:
All Post Types
All Taxonomies
Pages:
Dashboard (Home)
Users (Your Profile)
Settings (All Pages)
Give it a try, I am sure you will love it.

Drupal - heartbeat - Avatar

Im trying to add the avatar into my heartbeat stream, or any additional token for that matter and I dont seem to be able to get it working.
I've edited the default message template "User adds a node, save user activity". Here is what ive setup as the single message
!avatar !username has added !node_type !node_title. !mail
Then in rules ive setup the following variables:
#avatar=[author:heartbeat-user-picture]
#username=[author:user-name-url]
#node_type=[node:type-name]
#node_title=[node:title-link]
#mail=[author:mail]
#types=[node:type-name]
I then use display suite to theme my heartbeat streams. But instead of getting the Avatar to display or the Authors email address I get the actual tokens.
My messsage I get is as following:
!avatar ankh2054 has added the following journal: test and journal entry . !mail
Any help would be appreciated.
I looked further and I found the issue, but still a little puzzled of how I can fix it. The reason is not displaying the picture is because I am using a custom node & content profile for my user profiles & therefore have assigned a custome CCK field for the user avatar. Display suite seems to only pickup the default picture that is assigned via the built in Drupal profile.
Any ideas ? thanks for yuor help so far :)

Resources