Home Forums WC Vendors Pro Support Attributes not been saved

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #70105
    Pasi
    Participant

    Hello,

    On “Add new product”-page we wanted to change the attribute selection as we see the default one being too complicated to the vendors. We made the attributes next to the tags like this on product-edit file:

    <!– Basic Product Details –>

    <!– Product Title –>

    <!– Product Description –>

    <!– Product Short Description –>

    <!– Product Categories –>

    <!– Product Tags –>

    <!– attributes –>

    The outcome is just like we wanted it to be but somehow the attributes is not saved as a vendor adds a new product.

    What could be the issue?

    BR
    Pasi

    #70161
    Anna
    Member

    @paageli
    Hello,
    I am sorry, but I do not have enough information to know what the issue could be- nor can I really sort through custom alteration to ensure that they will work properly.
    The Attributes selection involves not only the code in the product-edit.php but also the public/forms/class-wcvendors-pro-product-form.php as well as some javascript.
    I am not sure what alterations you have made.
    I do understand that you are working to simplify the listing process, but I am not certain what you have done to try and achieve this.

    #70195
    Pasi
    Participant

    Hi Anna,

    please find attached some images. If I add this line (attributes in the end product-edit.php) it will show up just I want it in the add product form (image). But attributes won’t be saved this way. If I add the product and try to edit it afterwards, there is no attributes listed. I have not made any other alterations, simply added <?php WCVendors_Pro_Product_Form::attributes( $object_id, true ); ?> after the tags in the product-edit.php.

    <!– Product Edit Form –>
    <form method=”post” action=”” id=”wcv-product-edit” class=”wcv-form wcv-formvalidator”>

    <!– Basic Product Details –>

    #72884
    Pasi
    Participant

    Hi,

    any news?

    BR
    paageli

    #72932
    Anna
    Member

    Hello,
    I am sorry, but no- I do not know why the modification you have made to the attributes location are resulting in the attributes not being saved when the product is submitted.
    Like I said earlier- those fields do also have some javascript involved in their function- so when you relocated the fields it may not be properly now calling up all of the information that the attributes fields need in order to save the product meta when the product is listed using the front end forms.

    #73236
    Pasi
    Participant

    Hello,
    Okay. Would it be possible that the javascript issue could be solved? What should be changed in order to get it going?
    I would guess that many other would like to know this as well as the original layout for attributes is not the most user-friendly.
    BR
    Paageli

    #77457
    Pasi
    Participant

    Hi again,

    any possibilities to get an answers to this case?
    I would appreciate it even if there is no solution provided.

    BR
    Paageli

    #77495
    Anna
    Member

    Hello,
    Unfortunately to alter the javascript and the location of the attributes you would need to work with a developer to assist with the custom coding of this for your website needs.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.