Sam
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields: Image Crop Add-on] WordPress 5 fix (for some)eg.
line 79
#acf-image-crop-overlay{
display:none;
position:fixed;
/* added */
z-index: 10000;
/* added END */
top:0px;
left:0px;
right:0px;
bottom:0px;
background-color: rgba(0,0,0,0.8);}
Forum: Plugins
In reply to: [Calculated Fields Form] Woocommerce – hide fields from orderabsolute lifesaver! Thanks!
Forum: Plugins
In reply to: [Calculated Fields Form] Add form to multiple productsThere may be a neater way but if anybody needs this in the future, here is how I updated products from a certain product category with a specific form:
<?php
$args = array(
‘post_type’ => ‘product’,
‘posts_per_page’ => -1,
‘product_cat’ => ‘YOUR_CATEGORY’
);$myquery = new WP_Query( $args );
if ( $myquery->have_posts() ) :
while ( $myquery->have_posts() ) : $myquery->the_post();
wp_update_post(array (‘meta_input’ => array(
‘woocommerce_cpcff_form’ => 5 //YOUR FORM ID,
‘woocommerce_cpcff_calculate_price’ => 1
)));endwhile; endif; ?>
Forum: Plugins
In reply to: [Calculated Fields Form] Add form to multiple productsAmazing, just what I needed! Thanks
Forum: Plugins
In reply to: [Calculated Fields Form] Job quote using areaYes definitely.
You’ll need an equation to work it out. Something like:
(function(){
if((fieldname1*fieldname2)<30){return 30;}
else {return fieldname1*fieldname2*0.5}
})Hi, I have the same issue as question 1.
Where is this setting:
1) Please enable in plugin settings “Display products” option.
??
Thanks
Forum: Plugins
In reply to: [User Specific Content] Use with custom post typewhere did you add this code please?
Forum: Plugins
In reply to: [Woocommerce Free Shipping Remaining Cost] doesnt workjust add this code to your functions.php file
// If your free shipping threshold is 1500 as per Woocommerce settings…
// …show a cart notice if order subtotal is less than 1500
function cart_notice() {
$maximum = 1500;
$current = WC()->cart->subtotal;
// Format the difference as per Woo currency formatting settings
$formatteddifference = wc_price( $maximum – $current );
if ( $current < $maximum ) {
echo ‘<div class=”woocommerce-message”>Get free shipping if you order ‘ . $formatteddifference . ‘ more!</div>’;
}
}
add_action( ‘woocommerce_before_cart’, ‘cart_notice’ );Forum: Plugins
In reply to: [Mega Menu by WooRockets.com] NOT WORKING on WordPress 4.3so i removed 1 line of code which seems to have fixed it for me until the developers can be assed to reply and fix
wr-megamenu->includes->core->frontend.php
line 86 I removed
$menu_item->icon = $icon;not sure what effects this may have but it’s fixed it for me…. for now…
same fix here. I had copied the whole ‘woocommerce’ folder into my template directory to override most of the woocommerce templates.
only had to update one file to fix mine:
woocommerce->single-product->add-to-cart->variable.php
I replaced this with the version from the updated plugin folder
please could you explain the fix as I am unable to update things at the moment and would like to fix manually
thanks
tested with 1.4.2 and it works fine. Don’t update until you see a fix on here
Download older versions from here:
https://github.com/wp-plugins/acf-image-crop-add-on/releasessame problem for me 🙁
Forum: Plugins
In reply to: [Simple Image Sizes] Can the quality of the resized image be changedI don’t see much loss in quality at all. If you are cropping the image and then scaling it back up, you are bound to lose quality. Make sure your new image is not being scaled larger than its actual size.
I have compared the 2 here. Original left and resized right. They’re each scaled back to the original size
Forum: Plugins
In reply to: [Simple Image Sizes] Seems to be brokendownload it from here or alternatively download from github and upload manually:
https://github.com/Rahe/Simple-image-sizes.
The plugin available through the wordpress plugin dashboard seems to be broken.