Migrating product attributes to Highlights

WCMp Core

Resolved
Viewing 12 reply threads
  • Author
    Posts
    • #125513
      ilim
      Participant

      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.

    • #125532

      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 .

      • #125542
        ilim
        Participant

        it was made with photoshop to be an example of what we want.

    • #125534
      ilim
      Participant

      Hello,

      This is just the screenshot. Made with Photoshop.

      I want to do the same.

    • #125569

      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.

    • #125579
      ilim
      Participant

      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?

    • #125590

      Hello @ilim , For the coding procedure if you have any developers, ask them to contact us so we can help you out.

    • #125608
      ilim
      Participant

      Hello,

      My developer is with me now.

      Thanks.

    • #125647

      Hi,
      Using below function you can get the attributes

      wc_get_attribute_taxonomies()
      Copy

      using below hook you can add data afte product highlights section

      do_action( 'wcmp_afm_after_product_highlights_title_wrap', $post->ID, $product_object, $post );
      Copy

      Regards,

    • #125668
      ilim
      Participant
                      <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>
      Copy

      in html-product-highlights.php correct?

    • #125711

      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,

    • #125756
      ilim
      Participant

      Can you give an example code for attached picture? thank you.

    • #125759

      We would love to help you out, but I am afraid we don’t have any ready-made code for this.

      • #125764
        ilim
        Participant

        so what can i do? i really need this. thanks.

    • #125789

      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.

Viewing 12 reply threads

The topic ‘Migrating product attributes to Highlights’ is closed to new replies.