This topic has 39 replies, 3 voices, and was last updated 8 months, 4 weeks ago ago by Luca Rossi
Hello Support,
I have a few questions regarding customizing the theme, and I would appreciate your assistance. I’ve created a child theme inherited from the parent. However, upon checking the FTP, I noticed that only the functions.php file and a screenshot.png file exist in the child theme. Despite adding a font folder along with style.css and applying the necessary styles to change the font globally, I did not observe any changes. Can you guide me on why this might be happening?
Additionally, I’ve cleared unnecessary pages from the Settings Menu list, but I’m unsure how to remove or deactivate the dropdown pages within the shop menu item, as shown in the attached image. Could you provide guidance on how to address this issue?
Furthermore, I need to implement some temporary customizations to the theme for the first three months. Specifically, I want to temporarily remove the cart icon (comment it out from the code). Since products will only be purchased via WhatsApp, I intend to replace the “Add to Cart” button with “Buy Now,” along with WhatsApp and Facebook Messenger buttons. Clicking on these buttons should send a message to the administrator containing the product link, selected quantity, color, and size. Please advise on how to achieve this. Additionally, I want to place the WhatsApp button on the order page, use a WhatsApp icon instead of the cart icon in the header on the website, and at the bottom on mobile.
I apologize for the lengthy inquiry, but I want to ensure that I can make these customizations without losing the parent theme in case of future updates.
Your guidance on each of these questions would be highly appreciated.
Thank you.
Hello, Taalaki Abaya,
Thank you for reaching out to us with your inquiries regarding theme customization. We’re here to assist you every step of the way.
Regarding the child theme setup, it’s normal to start with just the functions.php and screenshot.png files.
XStore theme does not impose any limitations on the functionality of child themes; they operate in the same manner as they would with any other WordPress theme. For additional information, we recommend consulting the WordPress support resources.
Regarding the uploading of custom fonts, this can be accomplished through the Dashboard. You may refer to the following screenshot for guidance: https://prnt.sc/q8HwVBv-V5uq
For removing or deactivating dropdown pages within the shop menu item https://prnt.sc/fHlliY_lJ7LS , can typically be managed through the WordPress dashboard under Appearance > Menus. Here you can edit the menu structure and remove any unwanted items.
The cart icon from the Header can be removed via Theme Options > Header Builder https://prnt.sc/WqwK2pwm0jkK
Implementing temporary customizations, can be done by custom CSS or by editing the theme’s template files within your child theme. To replace the “Add to Cart” button with a “Buy Now” button, you would need to override the appropriate template files in your child theme and add the necessary links for WhatsApp and Facebook Messenger. This will likely involve custom development.
Please note that these customizations you are looking for can be complex and may require a good understanding of WordPress theme development and possibly some custom JavaScript for the messaging functionality. If you are not comfortable with these changes, we recommend hiring a professional developer to assist you.
Additional customization in files is outside the scope of our basic support.
However, if you wish our developers team can personally assist you via our customization service (paid). To get started, please follow this link to send us your requirements – https://www.8theme.com/account/#etheme_customization_panel , and we will prepare a detailed estimate for the customization work. Our goal is to create a design that aligns with your vision and enhances your website’s appearance and functionality.
Customize your website to suit your needs and make it stand out with our expert dev team.
We hope this information is helpful.
Best Regards,
8Theme’s Team
Hello 8Theme’s Team,
I sincerely appreciate your prompt response and the detailed guidance provided regarding theme customization. Your assistance has been invaluable.
Given my role as a Full Stack Developer, I am confident in undertaking the customizations myself. I have successfully implemented similar changes, such as replacing the “Add to Cart” button with a “WhatsApp” button, in a previous WordPress theme. However, the absence of a child theme resulted in the loss of my modifications during theme updates. To avoid this, I have a few additional questions:
File Location for Customizations:
Could you specify where and how I can create the necessary PHP files within the child theme using FTP to override default functionalities? This ensures that my customizations remain intact even after theme updates.
Language Translation Plugin:
What plugin would you recommend for changing the language of the site to Arabic? The goal is to have the entire site in Arabic without allowing visitors/users to switch languages; it should remain fixed in Arabic.
Store Icon vs. Cart Icon:
In your opinion, if the client intends to limit purchases to WhatsApp or Facebook Messenger, would it be advisable to retain the Store Icon (Order page) without the Cart Icon? Or would you recommend removing it entirely? The client wishes to keep the Wishlist feature intact.
Modal Popup:
There a modal popup that appears when a visitor opens the site for the first time, where can I locate and customize it?
Once again, thank you for your guidance. Your insights will contribute significantly to the successful implementation of these customizations.
Best Regards,
Taalaki Abaya
Hello @Taalaki Abaya,
File Location for Customizations:
Could you specify where and how I can create the necessary PHP files within the child theme using FTP to override default functionalities? This ensures that my customizations remain intact even after theme updates.
The following directories can be copied via child theme in the same directory structure to override the templates:
– xstore/bbpress/
– xstore/dc-product-vendor/
– xstore/dokan
– xstore/templates/
– xstore/vc_templates/
– xstore/woocommerce/
– and default templahe hierarchy of WordPress(index.php, page.php, category.php, …)
For more information, please take a look at these article: https://developer.wordpress.org/themes/advanced-topics/child-themes/#templates-parts-and-patterns
To override some functions include in the theme, please have a look at this: https://webdesign.tutsplus.com/a-guide-to-overriding-parent-theme-functions-in-your-child-theme–cms-22623t
Language Translation Plugin:
What plugin would you recommend for changing the language of the site to Arabic? The goal is to have the entire site in Arabic without allowing visitors/users to switch languages; it should remain fixed in Arabic.
– We suggest you to use Loco Translate plugin. It’s strong & FREE: https://wordpress.org/plugins/loco-translate/
Store Icon vs. Cart Icon:
In your opinion, if the client intends to limit purchases to WhatsApp or Facebook Messenger, would it be advisable to retain the Store Icon (Order page) without the Cart Icon? Or would you recommend removing it entirely? The client wishes to keep the Wishlist feature intact.
That’s fine if you hide the cart icon. Just hide it because the cart/checkout function is going with the WooCommerce plugin. You can’t disable the cart/checkout function.
Modal Popup:
There a modal popup that appears when a visitor opens the site for the first time, where can I locate and customize it?
Did you mean the this popup? We’ve already had a document for this: https://www.8theme.com/documentation/docs/xstore-newsletter-popup/
Best Regards,
8Theme’s Team
Dear 8Theme,
First and foremost, I would like to express my gratitude for providing me with the detailed explanation. Your assistance is greatly appreciated. I have some feedback and additional queries to discuss:
1. Regarding the directories suitable for inclusion in the child theme, I lack clarity on their specific purposes. While I understand the WooCommerce directory, I’m uncertain about the others. For instance, I created a “woocommerce” folder within the child theme and successfully hid the “Add to Cart” button by modifying the “simple.php” file located at “single-product/add-to-cart”. However, I encountered difficulty in hiding another button labeled “Buy Now” and preventing product addition to the cart when attributes are present. Could you please advise on these matters? Additionally, I created a “content-single-product.php” file to incorporate a JavaScript script linked to a file I shared privately. This script facilitates sending user-selected information to WhatsApp. Could you guide me on implementing a similar functionality for hiding the second “Buy Now” button and replacing it with a Messenger button? I’m unsure of its location. Furthermore, could you elaborate on the other directories you mentioned? If copying them along with their subdirectories and files is necessary, could you provide instructions for doing so directly via FTP?
2. Regarding the Language Translation Plugin: I found it to be robust and effective. However, I encountered difficulty translating words within rectangular frames overlaid on images. Could you please provide guidance on translating such content and specify the source for translations?
3. How can I remove the “|” separator after removing the “Cart” icon and other icons? Additionally, how can I eliminate the black notification within the Header Bottom section? Lastly, how can I incorporate my phone number into the “Call any time” feature?
4. If you have any additional insights or information to share, I would greatly appreciate it.
Thank you for your continued support.
Warm regards,
Dear Taalaki Abaya,
Thank you for your swift reply. We kindly request that you provide us with FTP access and the credentials for the WP Admin account(WP Admin Username, WP Admin Password).
For FTP access, please furnish us with the necessary information, including the FTP host, FTP username, FTP password, FTP port, and the type of FTP encryption. Should you require any assistance in generating these details, we recommend contacting your hosting provider for guidance.
We appreciate your cooperation.
Warm regards,
The 8Theme Team
Hello 8theme support,
I appreciate your prompt response and assistance.
Your help in fulfilling the requirements mentioned in the previous email is greatly valued.
Additionally, I would like to inquire about the best plugin for user management, allowing granular control such as limiting access to specific functionalities like products, categories, attributes, tags, and sliders.
Thank you for your support.
Best regards,
Hassan Radi
Hi @Taalaki Abaya,
1. To remove the Buy Now button, please navigate to Theme Options > WooCommerce(Shop) > Single Product Page > Layout > disable the Buy Now button: https://prnt.sc/RSEc-LPtc_BS. After that add the following codes under functions.php file locates in your child theme to add Messenger button:
add_action('woocommerce_after_add_to_cart_form', 'n2t_woocommerce_after_add_to_cart_form');
function n2t_woocommerce_after_add_to_cart_form(){
?>
<button>Messenger</button>
<?php
}
2.
a. Those texts can be editted via Elementor Editor:
– https://prnt.sc/GfK3JzKMgLb9
– https://***lakiabaya.com/wp-admin/post.php?post=103&action=elementor
b. The texts above image product can be translated there: https://***lakiabaya.com/wp-admin/admin.php?path=languages%2Fthemes%2Fxstore-ar.po&bundle=xstore&domain=xstore&page=loco-theme&action=file-edit
3. Please add the following CSS:
.header-main .et_column.et_col-xs-3.et_col-xs-offset-0.pos-static span.et_connect-block-sep {
display: none;
}
Warm regards,
The 8Theme Team
Hello 8Theme team,
I greatly appreciate your assistance thus far.
As I delved into the steps outlined in your recent communication, I encountered some challenges and questions that require further clarification:
– Translation Troubles: Despite attempting to translate text via the provided link (https://***lakiabaya.com/wp-admin/admin.php?path=languages%2Fthemes%2Fxstore-ar.po&bundle=xstore&domain=xstore&page=loco-theme&action=file-edit), certain text elements remain unchanged. Please refer to the attached image highlighting the issue. Additionally, you have access to the site to review these translation discrepancies firsthand.
– Notification Removal: Efforts to remove the prominent notification within the Header Bottom section, particularly the large rectangle displaying “Take 30% off,” have proven unsuccessful thus far.
– Custom CSS Challenges: While I successfully applied custom CSS to hide specific circular elements, I encountered difficulties in selectively hiding individual elements without affecting others. The intention was to remove specific elements without globally hiding all separators (‘|’). The CSS was added to the style.css file within the child theme to prevent issues during updates.
– Messenger Button Implementation: Although I managed to add the Messenger button successfully, I’m seeking guidance on integrating its functionality. Specifically, I aim to ensure that when a user clicks the Messenger button, it captures essential product details such as ID, quantity, and attributes (if applicable) to be sent as text via Messenger. Could you provide guidance or code snippets to achieve this functionality effectively?
– Add to Cart Button Visibility: Despite attempts to hide the Add to Cart button on the single product page, it persists briefly before the appearance of the WhatsApp button. I’ve explored various WooCommerce PHP files related to this functionality without finding a suitable solution.
Your continued support in resolving these issues is greatly appreciated.
Warm regards,
Hi @Taalaki Abaya,
– Translation Troubles: Despite attempting to translate text via the provided link (https://***lakiabaya.com/wp-admin/admin.php?path=languages%2Fthemes%2Fxstore-ar.po&bundle=xstore&domain=xstore&page=loco-theme&action=file-edit), certain text elements remain unchanged. Please refer to the attached image highlighting the issue. Additionally, you have access to the site to review these translation discrepancies firsthand.
Can you please tell us which texts you couldn’t translate?
– Notification Removal: Efforts to remove the prominent notification within the Header Bottom section, particularly the large rectangle displaying “Take 30% off,” have proven unsuccessful thus far.
Please navigate to Theme Options > Header Builder > Promo Text > Sections > then remove the texts: https://prnt.sc/mhXGHBhfCIOZ
– Custom CSS Challenges: While I successfully applied custom CSS to hide specific circular elements, I encountered difficulties in selectively hiding individual elements without affecting others. The intention was to remove specific elements without globally hiding all separators (‘|’). The CSS was added to the style.css file within the child theme to prevent issues during updates.
Please update the previous we sent to this:
span.et_b_header-menu-sep,
.et_connect-block-sep:after,
.header-main .et_column.et_col-xs-3.et_col-xs-offset-0.pos-static span.et_connect-block-sep {
display: none !important;
}
– Messenger Button Implementation: Although I managed to add the Messenger button successfully, I’m seeking guidance on integrating its functionality. Specifically, I aim to ensure that when a user clicks the Messenger button, it captures essential product details such as ID, quantity, and attributes (if applicable) to be sent as text via Messenger. Could you provide guidance or code snippets to achieve this functionality effectively?
Unfortunately, that’s required the customization which is out of our scope support. You have to follow the scripts for Whatsapp button.
– Add to Cart Button Visibility: Despite attempts to hide the Add to Cart button on the single product page, it persists briefly before the appearance of the WhatsApp button. I’ve explored various WooCommerce PHP files related to this functionality without finding a suitable solution.
Please create a PHP file, name it as variation-add-to-cart-button.php under xstore-child/woocommerce/single-product/add-to-cart:
<?php
/**
* Single variation cart button
*
* @see https://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/
defined( 'ABSPATH' ) || exit;
global $product;
?>
<div class="woocommerce-variation-add-to-cart variations_button">
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
<?php
do_action( 'woocommerce_before_add_to_cart_quantity' );
woocommerce_quantity_input(
array(
'min_value' => apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product ),
'max_value' => apply_filters( 'woocommerce_quantity_input_max', $product->get_max_purchase_quantity(), $product ),
'input_value' => isset( $_POST['quantity'] ) ? wc_stock_amount( wp_unslash( $_POST['quantity'] ) ) : $product->get_min_purchase_quantity(), // WPCS: CSRF ok, input var ok.
)
);
do_action( 'woocommerce_after_add_to_cart_quantity' );
?>
<button type="submit" class="single_add_to_cart_button button alt<?php echo esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ); ?>"><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button>
<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
<input type="hidden" name="add-to-cart" value="<?php echo absint( $product->get_id() ); ?>" />
<input type="hidden" name="product_id" value="<?php echo absint( $product->get_id() ); ?>" />
<input type="hidden" name="variation_id" class="variation_id" value="0" />
</div>
After that find this code and replace with your Messenger/Whatsapp button HTML code.
<button type="submit" class="single_add_to_cart_button button alt<?php echo esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ); ?>"><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button>
Warm regards,
The 8Theme Team
Hello 8theme,
I hope this email finds you well.
I’d like to express my gratitude for your ongoing support.
Regarding the translation issue, I’ve highlighted the words that remain untranslated in the attached image. These include “Type here…” in the input search, “Wishlist” and “Compare” in the side menu, “Compare” in the product details, and “Tag” in the product details. I attempted to address this using the “Loco Translate” plugin, but encountered inconsistencies in translation across different areas of the website.
As for the black banner in the header bottom section, I successfully removed the texts as instructed. However, the banner persists. Could you please advise on how to resolve this?
Thank you for your assistance.
Best regards,
Taalaki Abaya
Hi @Taalaki Abaya,
As for the black banner in the header bottom section, I successfully removed the texts as instructed. However, the banner persists. Could you please advise on how to resolve this?
Please go the Header Builder > remove Promo Text Block:
+ https://taalakiabaya.com/wp-admin/customize.php?autofocus%5Bpanel%5D=header-builder
+ https://prnt.sc/kXFcoxbJEQR9
Regarding the translation issue, I’ve highlighted the words that remain untranslated in the attached image. These include “Type here…” in the input search, “Wishlist” and “Compare” in the side menu, “Compare” in the product details, and “Tag” in the product details. I attempted to address this using the “Loco Translate” plugin, but encountered inconsistencies in translation across different areas of the website.
Those text are translatable under:
– Theme Options > Header Builder > Compare: https://prnt.sc/4zt0vuR_8mYl
– Theme Options > Header Builder > Wishlist: https://prnt.sc/R6Ixi-Vf51jY
For the Add to compare button text, we’ve added the translation for you under Loco Translate: https://prnt.sc/Co_9e50hTitU
For Tag text, not sure there is a conflict between Loco Translate plugin & theme so the translation is not working so we’ve added this custom code under functions.php file for you:
function n2t_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Tag' :
$translated_text = 'الوسوم';
break;
case 'Tags' :
$translated_text = 'الوسوم';
break;
case 'Tag:' :
$translated_text = 'الوسوم:';
break;
case 'Tags:' :
$translated_text = 'الوسوم:';
break;
}
return $translated_text;
}
add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
add_filter( 'ngettext', 'n2t_text_strings', 20, 3 );
Warm regards,
The 8Theme Team
Hello 8Theme Team,
Thank you for your prompt response, it was greatly appreciated.
I am now focusing on the final steps to complete and deploy my website.
1. Regarding the image attached showing the “add to cart” button: This button is the default add to cart button that appears when the product detail page loads before the JavaScript renders and replaces it with my buttons “Send to WhatsApp” and “Send to Messenger”. I am concerned about users with slower internet connections who may see this default button and click on it before the WhatsApp and Messenger buttons appear. How can I remove this default button without interfering with the functionality of the add-to-cart.js JavaScript?
2. As for the second picture showing the “wishlist page”: I would like to remove the buttons located under the products such as “Add all to cart”, “Ask for an estimate”, the combo box for choosing, “Add to cart”, and “Apply”. Instead, I want to replace the “Add to cart” button for each product with my “Send to WhatsApp” button.
Thank you once again for your assistance.
Best regards,
Taalaki Abaya
Hi @Taalaki Abaya,
For #1, please copy this file from XStore parent theme to child theme in the same directory after that add the Messenger/Whatsapp buttons HTML code: /wp-content/themes/xstore/woocommerce/single-product/add-to-cart/simple.php.
For #2, to remove the actions below the product list, please add this custom CSS:
form.xstore-wishlist-form .form-actions {
display: none !important;
}
Instead, I want to replace the “Add to cart” button for each product with my “Send to WhatsApp” button.
Please create a PHP file, name it as add-to-cart.php under xstore-child/woocommerce/loop/:
<?php
/**
* Loop Add to Cart
*
* This template can be overridden by copying it to yourtheme/woocommerce/loop/add-to-cart.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 3.3.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
global $product;
echo apply_filters(
'woocommerce_loop_add_to_cart_link', // WPCS: XSS ok.
sprintf(
'<a href="%s" data-quantity="%s" class="%s" %s>%s</a>',
esc_url( $product->add_to_cart_url() ),
esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ),
esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ),
isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '',
esc_html( $product->add_to_cart_text() )
),
$product,
$args
);
After that find this code and replace with your Messenger/Whatsapp button HTML code.
echo apply_filters(
'woocommerce_loop_add_to_cart_link', // WPCS: XSS ok.
sprintf(
'<a href="%s" data-quantity="%s" class="%s" %s>%s</a>',
esc_url( $product->add_to_cart_url() ),
esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ),
esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ),
isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '',
esc_html( $product->add_to_cart_text() )
),
$product,
$args
);
Please note this will replace the Add To Cart button from the whole site(Shop, Product Categories, …)
Warm regards,
The 8Theme Team
Hello 8theme,
I appreciate your message.
Regarding the Wishlist page functionality, it seems that the current logic doesn’t align with my requirements. Specifically, when the product loop in the wishlist includes items with and without attributes, we encounter an issue. We can only modify the button for products without attributes since they feature a quantity box. However, for products with attributes, there isn’t a cart button; instead, users are directed back to the product details page. When attempting your suggested solution and replacing buttons with WhatsApp and Messenger functionalities, it applied these buttons to all products, which wasn’t the intended behavior.
Additionally, there’s another concern I’d like to address. Before sending a message to WhatsApp or Messenger, I need to capture the selected product name and quantity. To address these issues, I’ve decided to include a link to a JavaScript file within the loop/add-to-cart.php
file. This JavaScript file will contain a method to override only the buttons associated with adding items to the cart. However, I haven’t been able to verify if this approach is successful yet, as the server typically takes around two hours to update CSS/JS changes.
Thank you for your attention to this matter.
Hi @Taalaki Abaya,
We regret to inform you that further customization will be out of our scope supports. Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page and you request additional customization.
Our high-level developers are equipped to provide you with a tailored solution for this. To get a precise estimate and discuss the customization, please submit a customization services request, and we will prepare a detailed estimate for the cost – https://www.8theme.com/account/#etheme_customization_panel (8Theme’s Customisation Services)
We appreciate your understanding.
Best Regards,
The 8Theme Team
Another Question:
How to edit the social media in Footer?
Dear Taalaki Abaya,
We would like to inform you that the footer can be conveniently modified using Elementor. We invite you to access the link provided in the Private Content section.
Additionally, for comprehensive details, we encourage you to review the following article: [XStore Footer Builder with Elementor](https://www.8theme.com/documentation/documentation/xstore-builders/xstore-footer-builder-with-elementor).
Should you require any further assistance, please do not hesitate to contact us.
Best Regards,
The 8Theme Team
Dear 8Theme Team,
Thank you for your prompt response and assistance.
Regarding the modifications to the footer using Elementor, I’ve accessed the link provided in the Private Content section and will proceed to make the necessary adjustments.
However, I have a couple of additional inquiries:
Regarding the attached photo showcasing mobile responsiveness: I’m interested in replacing the cart icon button with a custom icon that is clickable on the /categories page. Could you kindly provide guidance on how to achieve this customization?
In attempting to obtain the access token for my Instagram account through Meta developers, I encountered an error in the Developer Meta setting. Is there an alternative method to connect to my Instagram account seamlessly?
I greatly appreciate your ongoing support and assistance.
Best Regards,
Taalakiabaya
Dear Taalaki Abaya,
We hope this message finds you well.
We’re writing to address your recent inquiries as outlined below:
1. With reference to the image you provided, which illustrates the mobile responsiveness of your website, we understand that you wish to replace the existing cart icon with a custom icon on the categories page. This icon should be interactive and direct users to the specified page. We would be pleased to assist you with this customization.
We have successfully updated the cart icon to a custom icon and linked it to the categories page as per your request. However, regarding the text, we kindly ask that you translate the “Custom” text into your preferred language. You can review the changes here: https://prnt.sc/AvX8Rip99QJp
2. Concerning your attempt to acquire an access token for your Instagram account via the Meta developers platform, I regret to inform you that we have encountered an error within the Developer Meta settings. At present, there is no alternative method within our service to facilitate a direct connection to your Instagram account. We recommend exploring other plugins that may offer a solution to this issue.
We appreciate your understanding and are here to support you with any further questions or concerns you may have.
Best regards,
The 8Theme Team
Dear 8Theme Team,
I hope this message finds you well.
Firstly, I want to express my gratitude for your prompt assistance and for addressing my recent inquiries with such diligence. Your efforts in updating the cart icon and linking it to the categories page are greatly appreciated. I’ve reviewed the changes, and they look fantastic. Regarding the translation of the “Custom” text, I will promptly provide the preferred language translation.
However, I have another query regarding the addition of “Coupons” on the Home Page of my website. Despite searching extensively through both XStore options and the Dashboard, I couldn’t find a method to create a blocks for this purpose.
Could you kindly provide guidance or perhaps a PHP code snippet that would enable me to fetch all available coupons and display them in a block division on the Home Page? It would be ideal if this block division could display the coupon ID and be clickable, possibly directing users to WhatsApp by sending the Coupon Code.
I eagerly await your guidance on this matter.
Thank you once again for your continued support.
Best regards,
Taalaki Abaya
Hi @Taalaki Abaya,
We regret to inform you that the current version of our theme does not support the specific outcome you are seeking. Our item support policy does not extend to modifications or enhancements beyond the scope of the original features, style, and functionality as outlined on the item’s description page. We understand that you are interested in additional customization.
Our team of expert developers is available to create a customized solution tailored to your needs. For an accurate quote and to discuss the details of the customization you require, we kindly ask that you submit a request through our customization services portal. You can access the request form at the following link: [8Theme’s Customization Services](https://www.8theme.com/account/#etheme_customization_panel).
Alternatively, please take a look at this article:
– https://stackoverflow.com/questions/62230388/creating-a-list-of-available-woocommerce-coupon-codes-and-display-anywhere-using.
Or using this plugin: https://wordpress.org/plugins/wpc-coupon-listing/
Best regards,
The 8Theme Team.
Hello 8theme team,
Thank you for your response,
I appreciate your help, and your solution worked successfully.
I have a question:
Where can I find the PHP file that allows me to access the “Add to Cart” button present in the Quick View curtain?
Additionally, I’ve been trying to translate all labels in the Quick View curtain to Arabic using Loco Translate, but some labels remain untranslated or I couldn’t locate them. Could you please provide guidance on how to find these labels within Loco Translate?
Thank you.
Hello 8theme team,
I have another question.
Why do the attributes in the quick view appear as I want them to, with clear labels, but in the product details, all types of attributes appear as a combo box? I need them to appear like the quick view. Can you provide me with some information on how to achieve this?
Thank you.
Dear Taalaki Abaya,
We hope this message finds you well.
We have identified an issue concerning the slug of your product attributes. We kindly request that you convert all the slugs of your product attributes to Latin script, in accordance with the instructions provided in the following screenshot: https://prnt.sc/cwf6cILLq5je.
For your reference, here is the screenshot link once again: https://prnt.sc/TMzur0XBoo9l.
Should you require any further assistance, please do not hesitate to reach out.
Warm regards,
The 8Theme Team
Hello 8theme team,
Thank you for your response, can you please also reply to my mail (php file of the Quick View)? and how/where can i add a link JavaScript file to override the buttons like i did for the add-to-cart.php?
I have also another question.
I want to add my Gmail and my company name in the footer copyrights section, I tried to edit it from XStore options but i can’t be changed.
Thank you,
TaalakiAbaya
Hello 8theme team,
Following up on my previous email:
I’m encountering difficulty changing the names of certain menu items. I attempted to modify them through the context text in the XStore theme, but unfortunately, the changes didn’t take effect. Could you please assist me with this?
Thank you,
TaalakiAbaya
Hi @Taalaki Abaya,
Thank you for your response, can you please also reply to my mail (php file of the Quick View)? and how/where can i add a link JavaScript file to override the buttons like i did for the add-to-cart.php?
To edit the Quick View button, please take a look at the following files:
– wp-content/themes/xstore/woocommerce/content-product.php line 545,742,755,918
– wp-content/themes/xstore/woocommerce/content-product-slider.php line 444,642,655,799
I want to add my Gmail and my company name in the footer copyrights section, I tried to edit it from XStore options but i can’t be changed.
We could see that you have already changed the footer copyright successfully: https://prnt.sc/JAt2aSFQGmoe
I’m encountering difficulty changing the names of certain menu items. I attempted to modify them through the context text in the XStore theme, but unfortunately, the changes didn’t take effect. Could you please assist me with this?
To change the custom text on mobile panel, please find this code in your functions.php file:
function n2t_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Tag' :
$translated_text = 'الوسوم';
break;
case 'Tags' :
$translated_text = 'الوسوم';
break;
case 'Tag:' :
$translated_text = 'الوسوم:';
break;
case 'Tags:' :
$translated_text = 'الوسوم:';
break;
}
return $translated_text;
}
add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
add_filter( 'ngettext', 'n2t_text_strings', 20, 3 );
And change to this:
function n2t_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Tag' :
$translated_text = 'الوسوم';
break;
case 'Tags' :
$translated_text = 'الوسوم';
break;
case 'Tag:' :
$translated_text = 'الوسوم:';
break;
case 'Tags:' :
$translated_text = 'الوسوم:';
break;
case 'Custom' :
$translated_text = 'Your New Text';
break;
}
return $translated_text;
}
add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
add_filter( 'ngettext', 'n2t_text_strings', 20, 3 );
Change Your New Text with your language.
Warm regards,
The 8Theme Team
Dear 8theme Team,
I hope this email finds you well.
I have a few questions regarding your theme that I need assistance with:
1. Sometimes the product images do not appear when I open a product. I attempted to troubleshoot this issue but haven’t been able to identify the cause. I suspect it may be related to the layout, but I’m not entirely certain.
2. On the shop page, the products appear in a grid format. However, on larger screens, instead of displaying 6 products per row as expected, they appear in sets of 2. How can I ensure that on larger screens, the default display is optimized, such as showing 4 products per row, then 2, or ideally 12 in total?
3. Regarding the filter page, I’ve attempted to translate the sidebar title to Arabic using Loco Translate, but it didn’t work. Can you provide assistance with this?
4. I’ve tried configuring the contact form to send user messages to the email addresses info@taalakiabya.com and mails@taalakiabaya.com, but it hasn’t been successful. I suspect there may be an issue with the template or the contact form plugin.
Attached to this email are images illustrating each question for clarity.
Thank you for your attention to these matters.
Best regards,
Taalaki Abaya
Hi @Taalaki Abaya,
1. Sometimes the product images do not appear when I open a product. I attempted to troubleshoot this issue but haven’t been able to identify the cause. I suspect it may be related to the layout, but I’m not entirely certain.
Can you please send us the product URL which is having this issue?
2. On the shop page, the products appear in a grid format. However, on larger screens, instead of displaying 6 products per row as expected, they appear in sets of 2. How can I ensure that on larger screens, the default display is optimized, such as showing 4 products per row, then 2, or ideally 12 in total?
We’ve added the following CSS codes under Theme Options > Theme Custom CSS > Global CSS. Then the products look good on shop page now:
@media only screen and (min-width: 993px){
.woocommerce .row-count-4 .product:nth-child(4n+1) {
clear: none;
}
}
3. Regarding the filter page, I’ve attempted to translate the sidebar title to Arabic using Loco Translate, but it didn’t work. Can you provide assistance with this?
Please go to the widgets page, then change the widget title to your Arab language: https://prnt.sc/vbl33i2gFZCZ
4. I’ve tried configuring the contact form to send user messages to the email addresses info@taalakiabya.com and mails@taalakiabaya.com, but it hasn’t been successful. I suspect there may be an issue with the template or the contact form plugin.
Please check the emails are not going to SPAM folder. And also contact to your hosting provider to make sure they don’t disable the mail function. If the mail function is disabled, you can try with this plugin: https://wordpress.org/plugins/wp-mail-smtp/.
Warm regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up