Up to 50 percent off

Product Gallery and You are not allowed to edit

This topic contains 7 reply and 3 voices, and was last updated by Ari 11 years, 3 months ago
Viewing 7 Posts - 1 through 7 (of 7 total)
Author Posts
July 30, 2013 at 2:36 pm 6453
Ari Hi, I have done everything from this page, http://docs.wedevs.com/woocommerce-product-image-gallery. But still pictures missing. Only thumbnails is showing. Add product page i have meta key: _product_image hidden field Meta Key:_visibility Meta Value: visible My theme functions.php i have the code as you are showing /** * Update the custom field when the form submits * * @param type $post_id */ function wpuf_woo_product_gallery( $post_id ) { if ( isset( $_POST['wpuf_files']['_product_image'] ) ) { $images = get_post_meta($post_id, '_product_image' ); update_post_meta( $post_id, '_product_image_gallery', implode(',', $images) ); } } add_action( 'wpuf_add_post_after_insert', 'wpuf_woo_product_gallery' ); add_action( 'wpuf_edit_post_after_update', 'wpuf_woo_product_gallery' ); And 2# You are not allowed to edit I can edit products from dashboard but not "edit product" page. Edit product page have [wpuf_edit] shortcode. General option Edit page i have that "edit product" page. Sorry my English but hope you understand! :) Regars, Ari
July 30, 2013 at 5:10 pm 6459
Tareq Hasan Tareq Hasan

Hello Ari, can you please recheck if you made any mistake or a typo error? Because it’s well tested and works perfectly.

The edit product page is heavily customized by WooCommerce and it doesn’t put any edit link on the product page. User Frontend also doesn’t put any links on edit post and edit product page. But if you’ve already a edit post or edit product link on the theme, User Frontend only modifies the URL to forward you to the edit page.

July 30, 2013 at 9:49 pm 6483
Ari Ari

Hi,
I just cant resolve it! I check all setting almost 20 time but it just doesnt work!
Maybe i just have to install the whole shop and plugins again!
Could you reset my activation again?
Regards,
Ari

July 31, 2013 at 3:43 am 6507
Ari Ari This reply has been marked as private.
July 31, 2013 at 4:55 am 6511
Tareq Hasan Tareq Hasan

The pasted code had some unknown characters in your mantra themes funcitons.php. I wanted to edit that, but got a syntax error 🙁

July 31, 2013 at 1:29 pm 6529
Ari Ari

Okay, there was some weird characters, i’ts messed up whole pages! 🙂 I fix that and everything is working now. You add feature image choice. Thank you for your time to solve my problem! 🙂

Now i need only activation reset because i have installed WP again! Thanks.

– Ari

July 31, 2013 at 1:30 pm 6530
Mahi Mahi

try now to active.

Thanks.

July 31, 2013 at 1:50 pm 6531
Ari Ari

DONE!
Thanks! 🙂

Viewing 7 Posts - 1 through 7 (of 7 total)