Forum Replies Created
-
AuthorPosts
-
erezParticipant
HI
Before I purchase the woocommerce Product Bundles ,
I have to make sure the option Which is inside woocommerce Product Bundles is supported .I’m talking about the option to add “Frequently Bought Together” option .
(See attached screenshot) Will it work with WCMp Advance Frontend Manager ?erezParticipanterezParticipantHI
But where do I add the code Within the other lines of code?
Can you add it to the other code That I’ll just have to copy
When all the codes are already connected together .erezParticipantThis reply has been marked as private.erezParticipantThis reply has been marked as private.erezParticipantHI Thanks
It works, but it also affects the cover And the logo image on vendor SHOP .
What line of code I need to add So that it does not affect it ?Will this code work: do_action(‘wcmp_before_shop_front’);
If so where do I add it in all these lines:
/** Upload image restriction ****/
function resize_image_resolution($file) {
if(is_user_wcmp_vendor(get_current_user_id())){
$image = getimagesize($file[‘tmp_name’]);
$minimum = array(
‘width’ => ‘400’, //set your minimum
‘height’ => ‘400’
);
$maximum = array(
‘width’ => ‘1000’, //set your maximum
‘height’ => ‘1000’
);
$image_width = $image[0];
$image_height = $image[1];$too_small = “Image dimensions are too small.”;
$too_large = “Image dimensions are too large.”;if ( $image_width < $minimum[‘width’] || $image_height < $minimum[‘height’] ) {
$file[‘error’] = $too_small;
return $file;
}
elseif ( $image_width > $maximum[‘width’] || $image_height > $maximum[‘height’] ) {
$file[‘error’] = $too_large;
return $file;
}
else
return $file;
} else {
return $file;
}
}
add_filter(‘wp_handle_upload_prefilter’, ‘resize_image_resolution’);erezParticipantI was able to solve the problem, you can close this ticket , Thanks
erezParticipantThis reply has been marked as private.erezParticipantThis reply has been marked as private.erezParticipantThis reply has been marked as private.erezParticipantThanks for the response .I have another question .
Is it possible to edit the “vendor dashboard” With elementor ?
Mainly to fix Some display issues .erezParticipantPlease close this ticket
erezParticipantPlease close this ticket
erezParticipantPlease close this ticket
erezParticipantWhat about the image header ? in is not aligned as the site
-
AuthorPosts