Digital experiences for all disciplines
Forum Replies Created
-
-
thanks
Very good, it working !
Many thanks.Last question, I do have an image (1024*416px) that I would like to display in full wide whatever the screen resolution (laptop, mobile, tablet).
How to do that ?Regards,
AWThis reply has been marked as private.What I’m looking first is to have a shop page that looks like to demo one.
http://neighborhood.swiftideas.com/shop/Hi,
I’m ready to do (learn how to) it.
Could you just indicate to me where and which file I have to edit.Thanks,
Hello David,
I succeded to add products’ custom field (like “Composition”) into the Products Shop page.
Where is the code I used./**
* Adds product Composition above the “Add to Cart” buttons
**/
function skyverge_shop_display_skus() {global $product;
$wcv_custom_product_composition = get_post_meta( $product->id, ‘wcv_custom_product_composition’, true );
if ( ! empty( $wcv_custom_product_composition ) ) {
echo ‘<div class=”product-meta”><span class=”product-meta-label”>Composition:</span> ‘ . $wcv_custom_product_composition . ‘</div>’;
}
}
add_action( ‘woocommerce_after_shop_loop_item’, ‘skyverge_shop_display_skus’, 9 );So from now I do have the information I need on my Shop Page but I would like to display it in this order:
– Product name (native field) – Prix (native Price field)
– Composition (custom field)
– Artiste (native Author field)
And do not display the Category.The result shoud look like the second attachment.
Many thanks for your help.
Best regards,
AWAttachments:
You must be logged in to view attached files.This reply has been marked as private.It doesn’t seems to affect the template.
Am I editiong the right CSS /www/wp-content/themes/neighborhood-child/style.css ?This reply has been marked as private.This reply has been marked as private.Product 3, I succeeded by adding following code into the function.php
add_action(‘woocommerce_single_product_summary’, ‘my_icones’);
function my_icones(){
echo ‘‘;
}Product 4, will end you in private message.
Product 5, I don’t find it..
Shop 1, will send you in private message.
Concerning Product 2, I succeeed – thank to tutorial on http://www.swiftideas.com/knowledgebase/how-to-product-tabs-closed-by-default/ 😉
Concerning Product 4, I tested the following CSS without success.
.leave-feedback{display:none !important}
-
Posted in: Reply To: Modif Product page layout