radykal | Support Center Chooser

For which product do you need support?

Fancy Product Designer Multistep Product Configurator Another

Start a new topic

[Name & Numbers] suggestions to make it useful

Hello,

just my 50 cents to improve the Name & Number module.

With the latest upadte (3.6.5) it's really interesting using shortcode to put the modules whatever you want in a page.


However there is a couple of issues to fix:


1. One team player list for a product. Not one list for each product view.

If you put name & numbers in two different views (i.e. front and back) you get two different Team Lists (one for front & one for back view)!
It doesn't make sense. You can see an example here: http://rocks.today/test-shortcode/

In the Teamwear market the number in front and rear it's the same.

Would be much better having the Name & Number module working like the Bulk order. 
In synthesis a list of team mates / numbers /sizes that you fill to define the total quantity of you order, and not a module that you use to customize the product graphics.


If you have the Name & Numbers only in the rear, is not clear for the user where to fill the name/number/size per player.

If the active view doesn't contain any name/number element the Name/Number form is hidden.

At the moment I'm forcing the product view with name/number elments as a default view.

Here an example: http://rocks.today/product/t-shirt-jersey-pro/


2. Update the total quantity

At the moment if you fill a team player list nothing happens in the total quantity field. It stay always at 1 piece. You process an order with only 1 piece.

In my web site I'm trying to fix this with the following script. It sucks, but would be much better to have a better clean solution in the plugin.

In the Bulk modules it works properly. Why don't you use the Quantity update function for the Name& Numbers too?

 

/*** Custom JS to manage the correct sum of the product quantity w/ the name & number Module **/
jQuery(document).ready(function(){
  if (jQuery("body").hasClass("fancy-product")) {
	setTimeout(function() {
		
      var namesNumbersContainer = jQuery('.fpd-names-numbers-panel');
        if (namesNumbersContainer) {
          setTimeout(function() {
            var rows = jQuery('.fpd-names-numbers-panel .fpd-row').length;
            var elem = jQuery("form.cart .quantity input[type=number]")[0];

            if (elem) {
              if (rows == 0)
                rows = 1;
              elem.value = rows*1;
            }

          }, 2000);
        }

                setTimeout(function() {
        jQuery(".fpd-content .fpd-names-numbers-panel .fpd-btn").click(function(){
          var elem = jQuery("form.cart .quantity input[type=number]")[0];
          if (elem) {
            elem.value = (1*elem.value)+1;
            setTimeout(function(){
              jQuery(".fpd-content .fpd-names-numbers-panel .fpd-remove-col:not(.action-added)").click(function(){
                var elem = jQuery("form.cart .quantity input[type=number]")[0];
                if (elem) {
                  if (elem.value*1 > 0) {
                    elem.value = (1*elem.value)-1;
                  }
                }
              });
              jQuery(".fpd-content .fpd-names-numbers-panel .fpd-remove-col:not(.action-added)").addClass("action-added");
            }, 500);
          }
        });
                }, 2000);

      setTimeout(function(){
        jQuery(".fpd-content .fpd-names-numbers-panel .fpd-remove-col:not(.action-added)").click(function(){
          var elem = jQuery("form.cart .quantity input[type=number]")[0];
          if (elem) {
            if (elem.value*1 > 0) {
              elem.value = (1*elem.value)-1;
            }
          }
        });
        jQuery(".fpd-content .fpd-names-numbers-panel .fpd-remove-col:not(.action-added)").addClass("action-added");
      }, 2000);

      }, 2000);
  }
  
});

 

3. Link between Name & Numbers fields

Would be very useful to have a link between field in terms of:

  • value
  • font

For example for a NBA Jersey would be usefull to have this user experience:


  • Changing the text on view 1 the text on view 2 automatically change (for nomal text and Name & Number in the Plus module).
  • Changing the text font family on view 1 the text on view 2 automatically change 
  • Changing the text color on view 1 the text on view 2 automatically change (already implemented with the Color Link Group).

Thnak you!
Login or Signup to post a comment