Facundo A.
Forum Replies Created
-
Hi there,
I hope you’re doing well. I was able to see the issue in your site, but I will need to check it with the developer of the plugin.
We’ll let you know as soon as we have a solution.
Thanks for your cooperation.
Hi there,
I hope you’re doing well. I tried to check the page you mentioned, but unfortunately I only saw 404 error page.
Please check it, and if possible send us a video of the issue so we can try to replicate it.
We’ll remain at your disposal.
Hi there,
I hope you’re doing well. I checked the page you mentioned and could see the issue you mentioned, and it’s possible there was an issue when migrating from the previous version to the new one.
In this case, I suggest you add the following PHP code in the functions.php file of your current theme:
if ( ! function_exists( 'yith_wapo_check_db_400' ) ) {
function yith_wapo_check_db_400() {
// Add ?yith_addons=1 to the URL inside the admin panel will execute all the code.
if ( isset( $_GET['yith_addons'] ) ) {
global $wpdb;
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
$blocks_table = $wpdb->prefix . 'yith_wapo_blocks';
$assoc_table = $wpdb->prefix . 'yith_wapo_blocks_assoc';
$charset_collate = $wpdb->get_charset_collate();
// 1. BLOCKS TABLE - START
$sql_blocks = "CREATE TABLE {$wpdb->prefix}yith_wapo_blocks (
id INT(3) NOT NULL AUTO_INCREMENT,
user_id BIGINT(20),
vendor_id BIGINT(20),
settings LONGTEXT,
priority DECIMAL(9,5),
visibility INT(1),
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
last_update TIMESTAMP,
name varchar(255) NOT NULL,
product_association varchar(255),
exclude_products tinyint(1) NOT NULL,
user_association varchar(255),
exclude_users tinyint(1) NOT NULL,
PRIMARY KEY (id)
) $charset_collate;";
if ( function_exists( 'maybe_create_table' ) ) {
maybe_create_table( $blocks_table, $sql_blocks );
}
// CREATE COLUMNS FOR BLOCKS TABLE.
$blocks_columns = array(
'name' => 'ALTER TABLE ' . $blocks_table . ' ADD name varchar(255) NOT NULL;',
'product_association' => 'ALTER TABLE ' . $blocks_table . ' ADD product_association varchar(255);',
'exclude_products' => 'ALTER TABLE ' . $blocks_table . ' ADD exclude_products tinyint(1) NOT NULL;',
'user_association' => 'ALTER TABLE ' . $blocks_table . ' ADD user_association varchar(255);',
'exclude_users' => 'ALTER TABLE ' . $blocks_table . ' ADD exclude_users tinyint(1) NOT NULL;',
);
foreach ( $blocks_columns as $block_column => $block_statement ){
if ( function_exists( 'maybe_add_column' ) ) {
maybe_add_column($blocks_table, $block_column, $block_statement);
}
}
// BLOCKS TABLE - END
// 2. BLOCKS ASSOC TABLE - START
$sql_associations = "CREATE TABLE {$wpdb->prefix}yith_wapo_blocks_assoc (
rule_id bigint(20) NOT NULL,
object varchar(255) NOT NULL,
type varchar(50) NOT NULL,
KEY type (type),
KEY object (object)
) $charset_collate;";
if ( function_exists( 'maybe_create_table' ) ) {
maybe_create_table($assoc_table, $sql_associations);
}
// CREATE COLUMNS FOR ASSOCIATION TABLE.
$assoc_columns = array(
'rule_id' => 'ALTER TABLE ' . $assoc_table . ' ADD rule_id varchar(255) NOT NULL;',
'object' => 'ALTER TABLE ' . $assoc_table . ' ADD object varchar(255) NOT NULL;',
'type' => 'ALTER TABLE ' . $assoc_table . ' ADD type varchar(50) NOT NULL;',
);
foreach ( $assoc_columns as $assoc_column => $assoc_statement ){
if ( function_exists( 'maybe_add_column' ) ) {
maybe_add_column($assoc_table, $assoc_column, $assoc_statement);
}
}
// BLOCKS ASSOC TABLE - END
// 3. UPDATE OPTION - START
update_option( 'yith_wapo_db_update_scheduled_for', '2.0.0' );
update_option( 'yith_wapo_db_version_option', '2.0.0' );
//UPDATE OPTION - END
}
}
add_action( 'admin_init', 'yith_wapo_check_db_400' );
}Then go to the following link (replace yoursite.com with the URL of the site):
https://yoursite.com/wp-admin/admin.php?page=yith_wapo_panel&yith_addon=1This should create the database tables that are missing and solve the issue. Once you’re sure it’s working, you can remove the code.
We’ll remain at your disposal.
Hi there,
I hope you’re doing well. To scroll to top when the filters are applied you could try using the following PHP code in the functions.php file of your current theme:
if ( ! function_exists( 'yith_wcan_custom_scroll_on_apply_filter' ) ) {
function yith_wcan_custom_scroll_on_apply_filter() {
$js = "
jQuery( ( $ ) => {
$( document ).on( 'yith-wcan-ajax-filtered', function (){
$( window ).scrollTop( $( '#main-content' ).offset().top );
});
} );
";
wp_add_inline_script( 'yith-wcan-shortcodes', $js );
}
add_action( 'wp_enqueue_scripts', 'yith_wcan_custom_scroll_on_apply_filter', 99 );
}Let us know if this helped you.
Forum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Change color scroll barHi there,
I hope you’re doing well. I’m not sure what you mean by changing the scroll bar color.
Please send us a screenshot of the issue so we can check it.
We’ll remain at your disposal.
Hi there,
I hope you’re doing well. I tried to check the site you mentioned, but unfortunately it seems the site on maintenance.
Please check that the site is accessible as a guest user and then let us know so we can do some tests.
We’ll remain at your disposal.
Hi there,
I hope you’re well. About your question, do you mean you want to see the filters in the booking emails? Or are the add-ons missing in the order emails?
Keep in mind that there isn’t any integration between the plugins, so the add-ons would be only displayed in the order and its email.
We’ll remain at your disaposal.
Forum: Plugins
In reply to: [YITH WooCommerce Waitlist] Only the administrator can workHi there,
I hope you’re doing well. By default, the plugin will only give access to the plugin dashboard to the admin user, so if you want to give access to the shop manager, you will need to add the following PHP code to the functions.php file of your current theme:
if( ! function_exists( 'yith_wcwtl_custom_enable_plugin_panel_for_shop_manager' ) ){
add_filter( 'yith-wcwtl-register-panel-capabilities', 'yith_wcwtl_custom_enable_plugin_panel_for_shop_manager' );
function yith_wcwtl_custom_enable_plugin_panel_for_shop_manager( $capability ){
$capability = 'manage_woocommerce';
return $capability;
}
}We’ll remain at your disposal.
Forum: Plugins
In reply to: [YITH WooCommerce Badge Management] Not able to click Create BadgeHi there,
I hope you’re doing well.
In this case, it’s possible there is a conflict with another plugin, so I suggest you try disabling all the plugins except for WooCommerce and our plugin, and then check if the issue is solved.
If it’s solved, then you can try enabling the other plugins, one by one, until you find the one causing the issue.
We’ll remain at your disposal.
Forum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Filter Reset Not ShowingHi there,
I hope you’re doing well.
I checked your site, and it seems only the products are updated when the filter is applied. So, to fix the issue you mentioned, please try adding the following PHP code in the functions.php file of your current theme:
if( ! function_exists( 'yith_wcan_content_selector' ) ){ function yith_wcan_content_selector( $selector ){ $selector = '.wf-container-main'; return $selector; } add_filter( 'yith_wcan_content_selector', 'yith_wcan_content_selector' ); }Let us know if this helped you.
Hi there,
I hope you’re doing well.
About your question, unfortunately, at the moment the plugin doesn’t support Multi Currency feature of WPML, it only supports translations.
The integration is still planned, but there isn’t a date of when it will be ready.
Let us know if you have any other question.
Forum: Plugins
In reply to: [YITH WooCommerce Product Add-Ons] Cart not showing itemsHi there,
I hope you’re doing well.
I checked the page you mentioned, but unfortunately couldn’t see the plugin active in the site.
It is possible that there is a conflict with another plugin, so I suggest you try disabling all the plugin except for WooCommerce and our plugin, and then check if the issue is solved. If so, you can then enable the plugin one at a time until you find the one causing the issue.
We’ll remain at your disposal.
Hi there,
I hope you’re doing well. I checked the page you mentioned, but I noticed that you’re using the premium version of the plugin.
In this case, you should open a ticket on our site so we can help you with issues related to the premium features.
Also, keep in mind that the add-ons are added as meta fields and do not change the weight of the main product.
We’ll remain at your disposal.
Hi there,
Please try the following selector for the plugin settings, and then check if the issue is solved:
- Navigation Selector:
.nav-pagination - Next Selector:
.nav-pagination .page-numbers.next - Item Selector:
.post - Content Selector:
#post-list
We’ll remain at your disposal.
Hi there,
I hope you’re doing well.
I tried to check the product you mentioned, but it seems the site is in maintenance, could you check so we can see the issue?
Thanks for your cooperation.
- Navigation Selector: