Discussion on Xing - Business / ecommerce WordPress Theme

Discussion on Xing - Business / ecommerce WordPress Theme

Cart 967 sales
Well Documented

SaurabhSharma supports this item

Supported

915 comments found.

Firstly can I just say this is an amazing theme which I am finding quite straightforward to work with. I have one problem that I need some help with which I hope you can give. I am using the Woocommerce premium brands theme and need to be able to insert insert a brand logo under the product image on the main product page. As far as I can see the code i need to insert for this is get_brand_thumbnail_url( $brand_id ) I just can’t find where to put it …

Hello getawaydigital,

Thanks for the purchase and kind feedback.

In order to use that extension code, it will be required to copy one plugin template file and add the code in it. This file will be placed inside the theme’s woocommerce folder. For that, kindly send me a mail at xconsau[at]gmail[dot]com. I will send you the details and code.

Regards

Thank you I will send you an e mail

I already got a tweak to insert unlimited tab. Create new file in /wp-content/themes/xing/includes and name it custom-tab1.php Call this file custom-tab1.php in functions.php require_once (‘includes/custom-tab1.php’);

this is the content of custom-tab1.php <?php function custom_tab_options_tab_1() { ?> <li class="custom_tab1"><a href="#custom_tab_data1"><?php _e('Custom Tab 1', 'woothemes'); ?></a></li> <?php } add_action('woocommerce_product_write_panel_tabs', 'custom_tab_options_tab_1'); /** * Custom Tab Options * * Provides the input fields and add/remove buttons for custom tabs on the single product page. */ function custom_tab_options_1() { global $post; $custom_tab_options_1 = array( 'titleb' => get_post_meta($post->ID, 'custom_tab_title_1', true), 'contentb' => get_post_meta($post->ID, 'custom_tab_content_1', true), ); ?> <div id="custom_tab_data1" class="panel woocommerce_options_panel"> <div class="options_group"> <p class="form-field"> <?php woocommerce_wp_checkbox( array( 'id' => 'custom_tab_enabled_1', 'label' => __('Enable Custom Tab?', 'woothemes'), 'description' => __('Enable this option to enable the custom tab on the frontend.', 'woothemes') ) ); ?> </p> </div> <div class="options_group custom_tab_options"> <p class="form-field"> <label><?php _e('Custom Tab Title:', 'woothemes'); ?></label> <input type="text" size="5" name="custom_tab_title_1" value="<?php echo @$custom_tab_options_1['titleb']; ?>" placeholder="<?php _e('Enter your custom tab title', 'woothemes'); ?>" /> </p> <p class="form-field"> <?php _e('Custom Tab Content:', 'woothemes'); ?> </p> <table class="form-table"> <tr> <td> <textarea class="theEditor" rows="10" cols="40" name="custom_tab_content_1" placeholder="<?php _e('Enter your custom tab content', 'woothemes'); ?>"><?php echo @$custom_tab_options_1['contentb']; ?></textarea> </td> </tr> </table> </div> </div> <?php } add_action('woocommerce_product_write_panels', 'custom_tab_options_1'); /** * Process meta * * Processes the custom tab options when a post is saved */ function process_product_meta_custom_tab_1( $post_id ) { update_post_meta( $post_id, 'custom_tab_enabled_1', ( isset($_POST['custom_tab_enabled_1']) && $_POST['custom_tab_enabled_1'] ) ? 'yes' : 'no' ); update_post_meta( $post_id, 'custom_tab_title_1', $_POST['custom_tab_title_1']); update_post_meta( $post_id, 'custom_tab_content_1', $_POST['custom_tab_content_1']); } add_action('woocommerce_process_product_meta', 'process_product_meta_custom_tab_1'); /** Add extra tabs to front end product page **/ if (!function_exists('woocommerce_product_custom_tab_1')) { function woocommerce_product_custom_tab_1() { global $post; $custom_tab_options_1 = array( 'enabled' => get_post_meta($post->ID, 'custom_tab_enabled_1', true), 'titleb' => get_post_meta($post->ID, 'custom_tab_title_1', true), ); if ( $custom_tab_options_1['enabled'] != 'yes' ) return false; ?> <li><a href="#tab-downloads"><?php echo $custom_tab_options_1['titleb']; ?></a></li> <?php } } add_action( 'woocommerce_product_tabs', 'woocommerce_product_custom_tab_1', 24 ); if (!function_exists('woocommerce_product_custom_panel_1')) { function woocommerce_product_custom_panel_1() { global $post; $custom_tab_options_1 = array( 'titleb' => get_post_meta($post->ID, 'custom_tab_title_1', true), ); $downloads = get_post_meta($post->ID, 'custom_tab_content_1', true); $nsoutput = do_shortcode( $downloads ) ; ?> <div class="panel" id="tab-downloads"> <?php print $nsoutput; ?> </div> <?php } } add_action( 'woocommerce_product_tab_panels', 'woocommerce_product_custom_panel_1', 24 ); ?>

If you want to add new tab just replace another php in includes and add the new php file in functions. Replace all data1 with data2, data3 etc… and _1 with _2 in the php file. good luck

Hello tomaionut,

Thanks for sharing the solution. This will help others too. :)

Regards

do you know how to add more tabs between description tab and reviews tab? thanks

Hi there

I need to translate on the homepage

Welcome- account – Checkout – Login - to dutch where can i find the file and witch file is it?

Thanks Patrick

Hello Patrick,

Thanks for purchasing the theme.

If you wish to translate using .po files, you can find them inside xing/languages/ folder.

If you wish to directly edit core files, the login, register, checkout, etc. are set inside two files:

xing/woocommerce/account-bar.php
xing/woocommerce/woocommerce-hooks.php

You can easily locate these strings in the above mentioned file and save it. I hope that will help. :)

Regards

Hello Saurabh,

I need your help to customize Product display

Please check attached image,

I want to use jquery Capty pluging to display product name & price http://iwantaneff.in/repo/plugins/effects-ui/capty/index.html

Can I have your email id / mobile no ? It will help me to make faster communication.

awaiting for response, Thank You Ketan

Hello Ketan,

Thanks for purchasing the theme.

Kindly send me a mail at xconsau[at]gmail[dot]com, along with your site / page URL on which this plugin is being used. Also mention about the issue. I will check and suggest appropriate solution.

Regards

Thank You quick response.

will you update the theme to Woocommerce 2.0 if needed, and what is the lastest version.

Hello antpeks,

Thanks for browsing the theme.

The current version of WooCommerce is 1.6.6. When next version will release, I will update the theme accordingly. :)

Regards

Nevermind, I fixed this in the woo-commerce custom css file and by adding an attribute to the actual woocommerce.css.

Hello mbnutra,

Thanks for purchasing the theme.

You solved it before I could respond. Image width is also dependent on it’s parent container. You can simply override those parent container sizes by adding these rules inside user.css file:

div.product div.images { width: xxx }
div.product div.summary { width: xxx }

This way you can keep original plugin and theme files intact.

Regards

I’ve been trying to resize the featured image on my product page for two days now… I’ve changed the settings in woocommerce > settings > catalog > image options and I’m still not seeing a change. This is after I’ve regenerated the thumbnails…

Essentially all I want to do is make the product page featured image to be smaller (around 250px wide). Here’s the page in question: http://yournutra.com/shop/corti-therm-advanced-diet-energy-formula/

Thanks

Ok i reverted back to a backup. Does this theme not work with 3.5?

Hello Dan,

As you can see in the error message, it is caused due to one of the plugins not compatible with WP 3.5. I can assure you that the theme is fully compatible with WP 3.5.

You can also check this by switching the theme to twentytwelve for a while. If you are upgrading to latest WP version, I would recommend disabling all plugins and enable them one by one until you find the one that is causing error.

Regards

Hey SaurabhSharma, is this theme is optimized for SEO? I want to know before I purchase it. Thank you.

Hello Jj0o3eyY,

Thanks for browsing the theme.

It is optimized for heading structure, content hierarchy, micro formats, internal linking, title attributes, etc. This may provide a good base for SEO if your are using some plugin like Yoast. :)

Regards

Warning: Missing argument 2 for wpdb::prepare(), called in /var/sites/s/scaroofs.co.uk/public_html/wp-content/plugins/groups/lib/core/class-groups-user.php on line 151 and defined in /var/sites/s/scaroofs.co.uk/public_html/wp-includes/wp-db.php on line 990

This is the error message

Hello I have your Xing theme, but i have just upgraded Wordpress to the latest version and im getting lots of error messages and i cant log in to wordpress now. Please help urgent. My web address is www.scaroofs.co.uk.

Regards Dan

Hi, I’ve noticed that the emails from the contact page are formatted poorly in terms of newlines. Here is an example email we are getting on submit:

“Name: asdf \nEmail: asdf@asfd.com \nURL: No URL provided \nComments: asfdasdfasfdasfd”

Is there an easy way to fix page-contact.php? What should I replace the \r and \n with? Something like this maybe?

$cr = chr(13); // 0×0D [\r]

$lf = chr(10); // 0×0A [\n]

$crlf = $cr . $lf; // [\r\n]

I am specicially talking about this chunk of code:

$to            = ( $xng_email != '' ) ? $xng_email : get_option('admin_email');
$subject    = sprintf( __( 'Message sent from your website by: %1$s', 'xing' ), $name );
$body        = sprintf( __( 'Name: %1$s \nEmail: %2$s \nURL: %3$s \nComments: %4$s', 'xing' ), $name, $email, $url, $comments );
$headers    = sprintf( __( 'From: My WebSite <%1$s>\r\nReply-To: %2$s', 'xing' ), $to, $email );

Thanks!

Hello greenwire,

My apologies for this. The newline character \n doesn’t work in single quotes. It works in double quotes. You can simply replace \n and \r with the br tag inside above mentioned code. It shall work fine. If it doesn’t, kindly send me a mail at xconsau[at]gmail[dot]com. I will sen you the corrected file. :)

Regards

Very statisfied so far with this nice template! Have 1 little problem though: I want to add different slides above every product category page but i cant find the template page which builds the domain/?product_cat pages. Or is there another way to fix this? Thanks in advance!

Hello terrabyteis,

Thanks for the purchase and kind feedback.

Product category archive template is located inside the woocommerce plugin folder. If you wish to override any template file, copy that particular file and paste inside xing/woocommerce/ folder in same hierarchy. You can find the list of templates here.

In your case, copy wp-content/plugins/woocommerce/templates/archive-product.php file and paste inside xing/woocommerce/ folder. Next, you can add the desired code in this template. Basically, it will require some conditional statements to check category name/slug and show the image based on it. (I hope you already know that part). :)

Regards

oh i missed to input scale size on catalog item on woocommerce plugin :) its work now saurabh. thanks.

Hello conradsharry,

Thanks for purchasing the theme. You figured it out correct. Product image sizes are assigned inside WooCommerce > Settings > Catalog > Image Options.

Regards

hi saurabh,

im confusing about the images products (new arrivals & featured products) on frontpage, how to manage them all in one size scale crop (174 w x 131 h)?

I have set scale in media menu and then regenerate them with regent.thumbnails. but seems won’t works, some of them still 174×174px..

thanks,

Hi, great theme, I have purchase and install at tiptopstore.com, the problem is buyer can’t register coz the error say ERROR: Domain not allowed.

Please help..

Hello azrie,

I just tested the register link. I was able to create a new account, and log in successfully. You can check inside WordPress Users > All Users. There will be a new Customer user with the name “Saurabh”. Kindly let me know if the issue has been already fixed.

Regards

Hi,

Great theme! I am tweaking it a lot but it is a great canvas.

When I go to Xing->header and disable header callout bar and disable top navigation bar the logo will disappear on top. When you set the logo on the right of the header the problem will not occure.

Don’t want to mess up your main CSS style so would like to get your solution for this.

Thanks!

Hello scarface1899,

Menu on mobile devices does not depend on theme name. It’s generated using JS code in form of a select drop down. When on mobile, this select drop down is shown using responsive.css, at around line no. 54:

/* Primary Navigation Menu */
.nav1, .nav2 { display:none }
.ss_nav select, .ss_nav_top select { display:block }

Make sure this code resides inside responsive.css file. If not, kindly send me your site URL. I will check and suggest appropriate solution.

Regards

Hi,

Thanks problem solved. Iwas going to make some changes on primary navgation menu so had copied this without changing in user.css Probably the file was therefor not read correctly. I cut out the text in user.css and now it is showing up.

But your /* Primary Navigation Menu */ gave me the clue ;)

Have to say I have seen a lot of CSS styles but yours really stands out, it is so freaking precise and clean. It’s my style and I like precise scripting.

Thx!

Hello scarface1899,

Thanks for the kind words. I’m glad I could help. :)

Regards

Hello my name is Maurizio, thank you for your work on this theme it is very useful and efficient. I have a question regarding categories and sub categories. I am using the shortcode [product_categories number=”” parent=”0”] and I wanted to display only parent/main categories but sub categories keep showing up next to it when I use that shortcode, is there a way to display only parent categories without sub categories listed next to them? if so i thought the value parent=”0” in the shortcode would handle that.

Hello Maurizio,

Thanks for the purchase and kind feedback.

The [product_categories] short code no longer supports parent=”0” parameter. Their documentation contains old example. You can use the following short code for displaying categories selectively:

[product_categories  ids="12,14"]

In this example, 12 and 14 are the category IDs of desired product categories. In order to find these IDs, navigate to Products > Categories. Next, hover your mouse pointer on category name and watch it’s link in the status bar. It will look like, taxonomy=product_cat&tag_ID=xx. This xx is the category ID which you can use inside the short code. I hope this will help.

Regards

Hello SaurabhaSharma,

Do your theme support Indian Currency?

I need to setup store for an Indian Customer.

Hello aruldesk,

Thanks for browsing the theme.

Currently, WooCommerce doesn’t have INR or Rs. currency inside settings. But this can be done by adding a snippet inside theme files. I will help you with that.

Regards

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey