Forum Replies Created
-
AuthorPosts
-
carassius
ParticipantOne last question then if you could endulge me, how about working within tabs?
I have another CPT that is pulling the same contact info, but is displaying it in tabs, the issue is that the visible boxes are appearing in all tabs, not just the contact one?
carassius
ParticipantThanks Tan, any plan on the horizon for cloned group support then with conditional logic? Or is just to hard that it is never going to happen?
carassius
ParticipantNow that I have the customer conditional working, I am trying to configure the products which are a cloneable group
My code is looking like this, can you have a look and see what is going wrong for me?
- The first thing, content is not populating but the correct product ID gets assigned
- The inputs only appear once, and do not clone at all
carassius
ParticipantSo now the issue is that it has completely broken the layout?

carassius
Participantgot it! I am a dumb arse, its in the 'std' calling the wrong meta!
carassius
ParticipantDid you get a chance to login and have a look to see what was going on Tan?
carassius
ParticipantOk, created a live site at jonmather.info and sent you admin access.
I created two contacts and a test quote
carassius
ParticipantWho doesnt like breaking bad! Are you Aussie? That would explain the Perth Boat House ๐
carassius
ParticipantIt is on a local host at the moment, but can try and get a live site working
carassius
ParticipantThanks again for your help!
carassius
Participantyes they are in the database eg
meta_id: 943 post_id: 3722 meta_key: p52_contact_phone meta_value: 123456789carassius
Participantso the question becomes, why is it displaying with no value?
<input type="text" class="rwmb-text" name="p52_quote_phone_3762" id="p52_quote_phone_3762" value="" placeholder="" size="30">carassius
Participanthere is how I have all my contact metaboxes setup..No boxes appear until I select a name, and then they all become visible under the "New" inputs ie this email
// Show this email field if match name. $meta_box['fields'][] = array( 'name' => 'New Email', 'id' => $prefix . 'email_' . $customer->ID, 'type' => 'text', 'std' => get_post_meta( $customer->ID, 'p52_quote_email', true ), 'visible' => array( $prefix . 'name', $customer->ID ), 'columns' => 6 );This is the full contact php
carassius
ParticipantOk, the new phone text input area is pulling the correct id: p52_quote_phone_3722 (with 3722 being the select contact post ID), however it is not displaying any value
carassius
ParticipantFixed the errors, but my phone field still doesnt appear
-
AuthorPosts