This topic has 14 replies, 4 voices, and was last updated 9 years, 5 months ago ago by Eva Kemp
Hello,
Is it possible to have the same header of the normal pages in the product pages too? Here is the example:
Current product page header: http://www.awesomescreenshot.com/image/281377/fd518dd4847600c6b5a31779be07d84e
Pages header: http://www.awesomescreenshot.com/image/281383/bd001344e1456adbad890c9d1e458fe8
Best regards.
Hello,
Unfortunately there is no such possibility for products pages.
Sorry.
Regards,
Eva Kemp.
Eva,
This site has 3 products with a lot of text and not a lot of pictures.
Is there a way to delete the feature image in single product page (and the gallery images) to just have texto as a normal page ? or is there a plugin compatibly with the them that give me the option to personalize the product page ?
Thanks !
Hello,
In this case you can edit the file wp-content/themes/woopress/woocommerce/content-single-product.php (line 50) and comment the code
<div class="col-lg-6 col-md-6 col-sm-12 product-images">
<?php
/**
* woocommerce_before_single_product_summary hook
*
* @hooked woocommerce_show_product_sale_flash - 10
* @hooked woocommerce_show_product_images - 20
*/
do_action( 'woocommerce_before_single_product_summary' );
?>
</div>
and edit this piece of code on line 62:
<div class="col-lg-6 col-md-6 col-sm-12 product-information
to
<div class="col-lg-12 col-md-12 col-sm-12 product-information
Regards,
Eva Kemp.
Hi,
I’m sorry to say I couldn’t make that change, because my content-single-product.php archive doesn’t not have those codes. I’m going to copy it entirely here so you can check if I’m mistaken.
Thanks again.
<?php
/**
* The template for displaying product content in the single-product.php template
*
* Override this template by copying it to yourtheme/woocommerce/content-single-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( ‘ABSPATH’ ) ) {
exit; // Exit if accessed directly
}
?>
<?php
/**
* woocommerce_before_single_product hook
*
* @hooked wc_print_notices – 10
*/
do_action( ‘woocommerce_before_single_product’ );
if ( post_password_required() ) {
echo get_the_password_form();
return;
}
?>
<div itemscope itemtype=”<?php echo woocommerce_get_product_schema(); ?>” id=”product-<?php the_ID(); ?>” <?php post_class(); ?>>
<?php
/**
* woocommerce_before_single_product_summary hook
*
* @hooked woocommerce_show_product_sale_flash – 10
* @hooked woocommerce_show_product_images – 20
*/
do_action( ‘woocommerce_before_single_product_summary’ );
?>
<div class=”summary entry-summary”>
<?php
/**
* woocommerce_single_product_summary hook
*
* @hooked woocommerce_template_single_title – 5
* @hooked woocommerce_template_single_rating – 10
* @hooked woocommerce_template_single_price – 10
* @hooked woocommerce_template_single_excerpt – 20
* @hooked woocommerce_template_single_add_to_cart – 30
* @hooked woocommerce_template_single_meta – 40
* @hooked woocommerce_template_single_sharing – 50
*/
do_action( ‘woocommerce_single_product_summary’ );
?>
</div><!– .summary –>
<?php
/**
* woocommerce_after_single_product_summary hook
*
* @hooked woocommerce_output_product_data_tabs – 10
* @hooked woocommerce_upsell_display – 15
* @hooked woocommerce_output_related_products – 20
*/
do_action( ‘woocommerce_after_single_product_summary’ );
?>
<meta itemprop=”url” content=”<?php the_permalink(); ?>” />
</div><!– #product-<?php the_ID(); ?> –>
<?php do_action( ‘woocommerce_after_single_product’ ); ?>
Hello,
please provide us with FTP credentials for your site in private content.
Regards,
Stan Russell.
Here you are!
Thanks
Hello,
Could you please give us FTP access? It’s hard for us to work in your hosting control panel in your language. If you don’t know FTP credentials ask your host to provide you with them.
Also we can’t log in to wp-admin panel.
Please check the login details.
Thank you.
Regards,
Eva Kemp.
Now !!! Sorry.
Hello,
Are those FTP credentials for the site i.donostik.com? I don’t see woopress theme there:
http://storage4.static.itmages.com/i/15/0604/h_1433438168_7078721_36be32061d.png
Please give us correct FTP login details.
Regards,
Eva Kemp.
I’m so so sorry ! I was concentrated in a meeting and I sent the wrong credentials. Sorry Eva 🙁
Here you are the correct ones.
Hello,
I’ve edited the file content-single-product.php in the directory wp-content/themes/woopress/woocommerce. Please check single product page now:
http://i.donostik.com/shop/gourmet-sailing-experience/
Also you can copy the file into woopress-child folder and activate child theme in Appearance > Themes not to lose changes after the theme update.
To copy the file content-single-product.php from wp-content/themes/woopress/woocommerce you need also create a folder “woocommerce” in the directory wp-content/themes/woopress-child.
Thank you.
Regards,
Eva Kemp.
Much better !!!
I have already created a folder “woocommerce” and copied in the content-single-product.php
Thanks Eva !
Hello,
You’re welcome.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up