Hello @Rajesh Ankam,
Thank you for your kind message and appreciation. We are always happy to assist you and ensure you have the best experience with our products and services.
Best Regards,
Jack Richardson
The 8Theme’s Team
This topic has 41 replies, 3 voices, and was last updated 1 month, 3 weeks ago ago by Jack Richardson
Hello @Rajesh Ankam,
Thank you for your kind message and appreciation. We are always happy to assist you and ensure you have the best experience with our products and services.
Best Regards,
Jack Richardson
The 8Theme’s Team
On home page product list after selecting the color and size variation the second image of product on hover does not change from homepage. Kindly find the link on the private content and also shared the screenshot
Hello @Rajesh Ankam,
This is the correct behavior of the hover effect, as we intentionally disable the swap effect when a product variation is selected. This ensures that the customer sees the appropriate image associated with the chosen variation.
Best regards,
Jack Richardson
The 8Theme’s Team
Hello Team,
As per your answer, you are correct but we need the solution for this as the client is very particular and also i have one query in single product page when i directly select color variation the first image is changing but in product gallery same color other images are not showing. kindly also look into this issue, i am sharing the video link of this issue
kindly update me on this
Thank you team
Hello @Rajesh Ankam,
We have reviewed your request; however, the hover effect you described will not function as intended when a swatch variation is selected. If you change the hover effect to a slider (https://prnt.sc/qKcm5saC-mf8), it will work as shown here: https://gyazo.com/e6519bd605f165b0f36213bb77fa0c8c.
If you would still like to modify the current hover effect, please note that this would require additional customization, which falls outside the scope of our basic support. To ensure the task is completed properly and on time, we recommend submitting it to our trusted partner, WP Kraken.
Regarding your next question, could you please confirm whether it works correctly when the “Primary attribute” option is not selected in your Theme Settings, and that the issue occurs only when a primary attribute value is set?
Best regards,
Jack Richardson
The 8Theme’s Team
Hello,
I am facing an issue on the checkout page when purchasing a product. The quantity increase/decrease option is visible, but it is not working properly. For example, when I try to increase the quantity from 1 to 2, it automatically reverts back to 1.
I am attaching a reference video for a better understanding of the issue.
Kindly look into this matter and resolve it as soon as possible.
Thank you
Hello @Rajesh Ankam,
We kindly suggest that you separate your questions into different topics to ensure better support and to avoid mixing multiple requests in a single conversation.
As previously mentioned (https://prnt.sc/vn2x_ArfNW1Q), please update your parent theme and move your custom code from “xstore/functions.php” to “child-theme/functions.php” or to a code snippets plugin where you can safely place your customizations -> https://www.8theme.com/topic/some-functionality-of-theme-does-not-supporting-on-website/#post-462826. Upon checking, we noticed that the code is still located in the parent theme files. Please note that any custom code in the parent theme will be lost once the theme is updated.
Regarding the issue with the incorrect quantity increase or decrease on the checkout page, we have made some modifications directly in the parent theme files for your review. Once you install either a child theme or a snippets plugin, please add the following code to “xstore-child/functions.php” or to a PHP snippet in the plugin, depending on your chosen method:
function etheme_update_cart_item_quantity() {
$cart = WC()->cart->get_cart();
if ( ! empty( $cart ) && ( isset( $_REQUEST['item_id'] ) && $_REQUEST['item_id'] ) && ( isset( $_REQUEST['qty'] ) ) ) {
wc_clear_notices();
$cart_item_key = $_REQUEST['item_id'];
$quantity = $_REQUEST['qty'];
$values = array();
$_product = array();
$cart_updated = false;
if ( ! empty( $cart[ $cart_item_key ] ) ) {
$values = $cart[ $cart_item_key ];
$_product = $values['data'];
}
$passed_validation = apply_filters( 'woocommerce_update_cart_validation', true, $cart_item_key, $values, $quantity );
// is_sold_individually.
if ( $_product && $_product->is_sold_individually() && $quantity > 1 ) {
/* Translators: %s Product title. */
wc_add_notice( sprintf( __( 'You can only have 1 %s in your cart.', 'woocommerce' ), $_product->get_name() ), 'error' );
$passed_validation = false;
}
if ( $passed_validation && $quantity ) {
WC()->cart->set_quantity( $cart_item_key, $quantity, false );
$cart_updated = true;
} elseif ( ! $quantity ) {
WC()->cart->remove_cart_item( $cart_item_key );
}
// Trigger action - let 3rd parties update the cart if they need to and update the $cart_updated variable.
$cart_updated = apply_filters( 'woocommerce_update_cart_action_cart_updated', $cart_updated );
if ( $cart_updated ) {
WC()->cart->calculate_totals();
}
}
WC_AJAX::get_refreshed_fragments();
}
Frontend result: https://gyazo.com/c17a1899a0cc72cec9ff85bdc903706a
Best regards,
Jack Richardson
The 8Theme’s Team
Hi,
You have made the changes on the staging website. Please apply the same changes to the live website as well.
I have shared the credentials below.
Hello @Rajesh Ankam,
We noticed that you requested assistance for your live website; however, the details and URL you provided refer to your staging site, where these changes have already been implemented.
Additionally, we kindly remind you not to disregard our previous request, which we have mentioned several times:
As previously mentioned (https://prnt.sc/vn2x_ArfNW1Q), please update your parent theme and move your custom code from “xstore/functions.php” to “child-theme/functions.php” or to a code snippets plugin where you can safely place your customizations -> https://www.8theme.com/topic/some-functionality-of-theme-does-not-supporting-on-website/#post-462826. Upon checking, we noticed that the code is still located in the parent theme files. Please note that any custom code in the parent theme will be lost once the theme is updated.
Best regards,
Jack Richardson
The 8Theme’s Team
hii
Sorry for the confusion. I have now shared the live website URL and details. Please check and fix the issue on the live site.
Hello @Rajesh Ankam,
We have made changes directly in the xstore/framework/woo.php file, as you are not using a child theme that would allow us to place the mentioned function in xstore-child/functions.php.
Please note that this fix cannot be added through any code snippets plugin, as such modifications can only be located in the child theme folder. Keep in mind that any changes you also made to the parent theme will be lost after a theme update. Therefore, we highly recommend migrating your custom code to a child theme as previously mentioned.
Best regards,
Jack Richardson
The 8Theme’s Team
You must be logged in to reply to this topic.Log in/Sign up