CompassBlocks
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Add Custom Field to the List ViewThis assumes you have the pro plugin. I do not know how to create custom files otherwise. You can paste this right into the template file you edit in the child theme or create a
new file for this and call it with a function.———————————————-
Put this code in functions fileadd_action( 'tribe_template_after_include:events/v2/list/event/featured-image', function ( $file, $name, $template ) { $template->template( 'list/event/tooltip-extra-fields' ); }, 10, 3 );————————————————————————————-
Put this code in featured-image.php for example or in its own file like tooltip-extra-fields.php<?php
// Get the event ID.
$event_id = get_the_ID();// Fetch from this Event all custom fields and their values.
$fields = tribe_get_custom_fields( $event_id );
?><div class=”theme-extra-event-fields”>
<?php if ( ! empty( $fields[‘Button Text’] ) ) : ?>
<h4>Artist</h4>
<p>
<?php if ( ! empty( $fields[‘Ticket Link’] ) ) : ?>
” target=”_blank”>
<?php endif; ?>
<?php echo esc_html( $fields[‘Button Text’] ); ?>
<?php if ( ! empty( $fields[‘Ticket Link’] ) ) : ?>
<?php endif; ?>
</p>
<?php endif; ?>
</div>Forum: Plugins
In reply to: [The Events Calendar] Add Custom Field to the List Viewjust for the link potion of the button I tried to use $website_title = tribe_events_get_event_website_title(); <?php echo $website; ?>
But this produces the text of the link then linked to itself. I cant use that in a <ahref>So I need two custom fields, one for the button text and one for the button link and I need a way to drop that into the list view. Im thinking of editing the featured-image.php in my child theme and dropping the button in there.
I dont think there are filters/action hooks in the list view so documentation I found for adding fields to the event manager or venue wont work.
- This reply was modified 4 years, 4 months ago by CompassBlocks.
I activated the CDN and could see the images loading from the CDN just find but I got an influx of customers saying no images were loading. I have no caching. Why would certain people not be able to load images from your CDN?
OK I reset up everything on a new tenant and the URL worked. Verification worked and so I went to gravity forms and asked it to send me an email.
Gravity forms popped up a error message
The tenant for tenant guide “xxx” does not exist.So I switched back to my main tenant, created a new application, added the uri during the initial set up. Now everything works fine.
- This reply was modified 5 years, 3 months ago by CompassBlocks.
Forum: Plugins
In reply to: [OnSale Page for WooCommerce] Sales page title shows SHOPForum: Plugins
In reply to: [WooCommerce] Cannot set prices to variable products after updateIm having the same problem, did you figure the conflicting plugin?
Im going to use some javascript to make sure the price fields are filled in…
var value = jQuery(‘:selected’, ‘#product-type’).val();
if ( value == ‘variable’) {
if(jQuery(‘.variable_pricing .form-row-first .wc_input_price[placeholder=”Variation price (required)”]’).prop(‘required’)){
jQuery( ‘.variable_pricing .form-row-first .wc_input_price[placeholder=”Variation price (required)”]’ ).each(function( index ) {
if( !jQuery(this).val().length != 0){
var number = index + 1;
error = error +’- The pricing for the ‘+ number +’. variation of the product (in Variations)\n’;
}
});I’m actually doing this with a multi vendor plugin and the users are clueless so I have to make it fool proof by preventing improperly created products from getting published.
From what I can see, the wc vendor plugin doesnt do half the things I need.
It Doesnt handle Taxes by vendor
It doesnt have usps calculations for the vendors zipcode
it doesnt have a refund system, instead requires things to be done over email contact mostly.
I dont think the search functionality is there either (search by store name and get results)I really wished it had these things. I need them so bad.
Wow. So cool you guys respond so fast. Thats awesome !
So what if we need to remove existing redirects? Do you have to upgrade to remove them? I suppose we could install an old version of the plugin just to remove the redirect, then update again..
Forum: Plugins
In reply to: [WooCommerce] Custom Shop Page No Longer SavingChalk it up to theme conflicts for now. It was very strange, I cant track it down but it eventually starts working.
Forum: Plugins
In reply to: Woocommerce 1 product =multiple shipping packages to FedExDid you figure this out? Im need same solution
This was admin load time fyi.
It sounds a little backwards from what I need. I want to remove shipping cost based on category, class, etc.. All other products should not need to be touched as they use the default shipping option usps.