Frank2k
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [WooCommerce] Productpage as HomepageI have tried a couple of things but i dont get the result i want.
I want a the homepage as a single product page.
Product ID is 355.in the post above is the code from single-product.php
Maybe someone can help me ?
Forum: Plugins
In reply to: [WooCommerce] Productpage as HomepageI use
[product_page id="productid"]That code dont show the add to cart + Price.
i am gonna try to edit the home.php
my single-product.php from my theme have the following code:
<?php /** * The Template for displaying all single products. * * Override this template by copying it to yourtheme/woocommerce/single-product.php * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ remove_action( 'woocommerce_before_main_content', 'yit_shop_page_meta' ); add_action( 'yit_before_content', 'yit_shop_page_meta' ); get_header('shop'); wp_enqueue_script( 'jquery-elastislider' ); wp_enqueue_script( 'jquery-tipTip' ); ?> <?php /** * woocommerce_before_main_content hook * * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content) * @hooked woocommerce_breadcrumb - 20 */ do_action('woocommerce_before_main_content'); ?> <div itemscope itemtype="http://schema.org/Product" id="product-<?php the_ID(); ?>" <?php post_class(); ?>> <?php while ( have_posts() ) : the_post(); ?> <?php woocommerce_get_template_part( 'content', 'single-product' ); ?> <?php endwhile; // end of the loop. ?> </div><!-- #product-<?php the_ID(); ?> --> <?php /** * woocommerce_after_main_content hook * * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content) */ do_action('woocommerce_after_main_content'); ?> <?php /** * woocommerce_sidebar hook * * @hooked woocommerce_get_sidebar - 10 */ do_action('woocommerce_sidebar'); ?> <?php get_footer('shop'); ?>maybe you have a idea what to edit 😀
Forum: Plugins
In reply to: [WooCommerce] Productpage as Homepagei have tried that, but the shortcode dont include the add to cart option.
Forum: Plugins
In reply to: [WooCommerce] Productpage as Homepageits a kind of Deal site. I want the active deal (product) as Homepage.
Forum: Plugins
In reply to: [WooCommerce] Productpage as HomepageTnx for your quick reply.
But i mean a single productpage. not the “catch all”
Forum: Plugins
In reply to: [Pronamic Pay] Targetpay Ideal status updateI use Woocommerce.
Viewing 6 replies - 1 through 6 (of 6 total)