WCMp Core
Tagged: attributes, highlights
-
AuthorPosts
-
-
July 27, 2021 at 3:14 PM #125513ilimParticipant
Hello,
First of all, thank you for this unique and useful plugin.
I have 4 product attribute options. What I want to do is move these options to the html-products-highlights section. I just want it to be selectable.
Thanks for help.
-
July 27, 2021 at 7:01 PM #125532MVX Support NinjaKeymaster
Hello @ilim , thank you for reaching out to us.
WCMP by default does not add this feature . Kindly let us know how you have added this . So we can help you out accordingly . -
July 27, 2021 at 7:20 PM #125534ilimParticipant
Hello,
This is just the screenshot. Made with Photoshop.
I want to do the same.
-
July 28, 2021 at 1:08 PM #125569MVX Support NinjaKeymaster
Hello @ilim , hope you are doing well.
WCMP by default gives you this attribute tab . ( screenshot : https://prnt.sc/1gz67tp )
In order to add the feature you are looking for, you need to add custom code.
For the coding procedure if you have any developers, ask them to contact us so we can help you out.
Alternatively, you may hire our service team.
(https://multivendorx.com/custom-development/) so they can add this feature to your site. -
July 28, 2021 at 5:28 PM #125579ilimParticipant
I know this area exists. how can i move this field up as i show? also i want this field to be exactly as i show.
We dont want to have an add button as an extra. Can you share a code about it? -
July 28, 2021 at 6:36 PM #125590MVX Support NinjaKeymaster
Hello @ilim , For the coding procedure if you have any developers, ask them to contact us so we can help you out.
-
July 28, 2021 at 10:06 PM #125608ilimParticipant
Hello,
My developer is with me now.
Thanks.
-
July 29, 2021 at 6:55 PM #125647MVX Support NinjaKeymaster
Hi,
Using below function you can get the attributeswc_get_attribute_taxonomies()
Copyusing below hook you can add data afte product highlights section
do_action( 'wcmp_afm_after_product_highlights_title_wrap', $post->ID, $product_object, $post );
CopyRegards,
-
July 29, 2021 at 9:32 PM #125668ilimParticipant
<p class="pro-title"> <label><?php _e('Product Title', 'dc-woocommerce-multi-vendor'); ?>: </label> <strong class="editable-content"><?php echo $product_object->get_title( 'edit' ); ?></strong> <?php if( (!$self->is_spmv() && $is_update) || !apply_filters('wcmp_singleproductmultiseller_edit_product_title_disabled', true) ) : ?> <button type="button" class="editable-content-button"><i class="wcmp-font ico-edit-pencil-icon" title="<?php _e('Edit', 'dc-woocommerce-multi-vendor'); ?>"></i> <!--span>edit</span--></button> <?php endif; ?> <span class="editing-content"> <input type="text" class="form-control" name="post_title" id="post_title" value="<?php echo $product_object->get_title( 'edit' ); ?>"<?php if ( $self->is_spmv() && apply_filters('wcmp_singleproductmultiseller_edit_product_title_disabled', true) ) echo ' readonly="readonly"'; ?>> <input type="hidden" name="original_post_title" value="<?php echo $product_object->get_title( 'edit' ); ?>"> <input type="hidden" name="post_ID" value="<?php echo $self->get_the_id(); ?>"> <input type="hidden" name="is_update" value="<?php esc_attr( $is_update ); ?>"> <input type="hidden" name="original_post_status" value="<?php esc_attr( get_post_status( $post ) ); ?>"> </span> </p>
Copyin html-product-highlights.php correct?
-
July 30, 2021 at 6:31 PM #125711MVX Support NinjaKeymaster
Hi,
Yes. Those line of codes are from html-product-highlights.php.
You can also Override templates/vendor-dashboard/product-manager/views/html-product-highlights.php template by copying it to yourtheme/dc-product-vendor/vendor-dashboard/product-manager/views/html-product-highlights.php and add your custom code.Regards,
-
July 31, 2021 at 5:34 PM #125756ilimParticipant
Can you give an example code for attached picture? thank you.
-
July 31, 2021 at 6:05 PM #125759MVX Support NinjaKeymaster
We would love to help you out, but I am afraid we don’t have any ready-made code for this.
-
August 2, 2021 at 2:27 PM #125789MVX Support NinjaKeymaster
Hello @ilim , hope you are doing well .
For the coding procedure if you have any developers, ask them to contact us so we can help you out.
Alternatively, you may hire our service team.
(https://multivendorx.com/custom-development/) so they can add this feature to your site.
-
-
AuthorPosts
The topic ‘Migrating product attributes to Highlights’ is closed to new replies.