Post by Mountune » Fri Jan 05, 2018 12:49 am

Hello,

does anyone know how to make it so I can assign a different product maximum and minimum character limit for products?

Example
Product 1 - Minimum Character allowed = 1 / Maximum Character allowed = 25
Product 2 - Minimum Character allowed = 1 / Maximum Character allowed = 15
Product 3 - Minimum Character allowed = 3 / Maximum Character allowed = 20

I want to be able to customize it for different products under the "Admin > Catalog > Options > Option-name-example" so rather then 3 options (Option Name, Type and Sort Order) it allows me to also add the minimum and maximum characters allowed for personalisation.

Many Thanks

-----
Opencart Version = v2.3.0.2
Theme = SimpleONE Boxed


Active Member

Posts

Joined
Mon Mar 27, 2017 10:03 pm

Post by D3MO » Fri Jan 05, 2018 5:48 am

try reading your post again:)) and imagine out of blue person reads it it is impossible what you try to achieve. only the last sentence lightened it a little bit but still not enough:) be more specific what you need. if you are too lazy to describe what you need how you can expect someone to provide you solution?

PS: you want to be able to set a limit on inputs ? the ones can be submited when purchasing in a product details page?

Opencart Expert | voldemaras@gmail.com

Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by straightlight » Fri Jan 05, 2018 6:15 am

Mountune wrote:
Fri Jan 05, 2018 12:49 am
Hello,

does anyone know how to make it so I can assign a different product maximum and minimum character limit for products?

Example
Product 1 - Minimum Character allowed = 1 / Maximum Character allowed = 25
Product 2 - Minimum Character allowed = 1 / Maximum Character allowed = 15
Product 3 - Minimum Character allowed = 3 / Maximum Character allowed = 20

I want to be able to customize it for different products under the "Admin > Catalog > Options > Option-name-example" so rather then 3 options (Option Name, Type and Sort Order) it allows me to also add the minimum and maximum characters allowed for personalisation.

Many Thanks
The question is pretty clear by the previous green title person rather than the blue above. What this user is asking is how to actually set a minimal characters allowed and also the maximum characters allowed by each products / options . So far, I haven't seen such extensions, however. Although, I fail to see the importance of those characters limitations. Could you elaborate the purpose of this request?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by webcorvo » Fri Jan 05, 2018 6:20 am

He want´s a "range of limited characters depending on the length of each products / options"
Like straightlight said
Last edited by webcorvo on Fri Jan 05, 2018 6:51 am, edited 3 times in total.

Opencart Developer - For custom work and support contact @ webcorvo@gmail.com


User avatar
Active Member

Posts

Joined
Mon Mar 20, 2017 11:42 pm
Location - Lisbon, Portugal

Post by straightlight » Fri Jan 05, 2018 6:27 am

What this user wants is a range of limited characters depending on the length of each products / options.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Mountune » Sat Jan 06, 2018 1:25 am

thanks for the responses and apologies if the question was a bit misleading but most of you have managed to understand what I am after.

My store will be a personalisation product store where space is limited (on mugs for example)

on 1 product I could have space for 3 lines of text but limited to different lengths.

Example
Product = Mug
1st Line Text = 1 - 20 Characters
2nd Line Text = 1 - 10 Characters
3rd Line Text = 1-4 Characters / Numbers.

If there is a way to get the options to limit to appear under the ""Admin > Catalogue > Options > Option-name-example" it would make things easier.

Any help appreciated (I have also uploaded 2 images for an example of what I am after and an idea of what the options look like for the customer)

Image

Image

Additional - From the 2nd image I want to limit the text to 14 as any more would not be included so to be idiot proof for the customer.

-----
Opencart Version = v2.3.0.2
Theme = SimpleONE Boxed


Active Member

Posts

Joined
Mon Mar 27, 2017 10:03 pm

Post by Mountune » Thu Jan 11, 2018 4:00 am

anyone able to shed any light? or even if there is a different way of limiting the number of characters a customer can enter in a text field for a product?

-----
Opencart Version = v2.3.0.2
Theme = SimpleONE Boxed


Active Member

Posts

Joined
Mon Mar 27, 2017 10:03 pm

Post by IP_CAM » Thu Jan 11, 2018 4:55 am

Well, most everything can be done, but when it comes to such specific knowledge,
you should better not expect this to be a 'forum-solvable' matter. :D
But I added 2 free links, to 'generally' see, how such works, if you don't know this already.
And some rather similar working Solutions seem to exist already, I would therefore
contact one of the Coders, creating those Mods. It's the best way, to get this done.
since it will take a new Module, to create a bunch of editor windows in rows,
each one limited to it's max-text value. That's a tricky Job, so better prepare... :choke:
At least, as I understud your Problem.

But I am also aware of, that in plain HTML, it would be easy to do, but it's content has to
be 'implanted' and 'handled' to match the OC way of doing things, and that includes and
requires ton's of Scriptings and Code, to even make a simple Ckeditor work.

Good Luck! ;)
Ernie
---
Add Character Count to Contact Us Form
https://www.opencart.com/index.php?rout ... n_id=24740
---
Character Count Limit Contact
https://www.opencart.com/index.php?rout ... n_id=25137
---
Characters Limit for Text Textarea Min Max Length option type
https://www.opencart.com/index.php?rout ... n_id=13880
---
OPTIONS level Characters Limit Text Textarea Min Max Length type
https://www.opencart.com/index.php?rout ... n_id=31196
---

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Mountune » Thu Jan 11, 2018 10:01 pm

Many thanks, I shall contact a few and see if I can get it to work.

-----
Opencart Version = v2.3.0.2
Theme = SimpleONE Boxed


Active Member

Posts

Joined
Mon Mar 27, 2017 10:03 pm

Post by windows95 » Fri Jan 12, 2018 7:17 am

i used

Min/Max Character Count For Text/Textarea Options by opencart.extensions to do exactly what you are asking for

link: https://www.opencart.com/index.php?rout ... n_id=31196

You create input fields in the "options" section of your catalog and you can set the minimum and maximum number of characters for each input.

Newbie

Posts

Joined
Wed Aug 16, 2017 6:22 am

Post by lindsey80 » Sun Apr 29, 2018 8:09 pm

windows95 wrote:
Fri Jan 12, 2018 7:17 am
i used

Min/Max Character Count For Text/Textarea Options by opencart.extensions to do exactly what you are asking for

link: https://www.opencart.com/index.php?rout ... n_id=31196

You create input fields in the "options" section of your catalog and you can set the minimum and maximum number of characters for each input.
Does anyone have this compatible with Version 3.0.2.0?

Thanks

Newbie

Posts

Joined
Fri Feb 02, 2018 9:57 pm

Post by xxvirusxx » Sun Apr 29, 2018 8:26 pm

You have for oc 2.3.0.2?

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by lindsey80 » Mon Apr 30, 2018 2:14 am

xxvirusxx wrote:
Sun Apr 29, 2018 8:26 pm
You have for oc 2.3.0.2?
Yes I do

Newbie

Posts

Joined
Fri Feb 02, 2018 9:57 pm

Post by lindsey80 » Mon Jun 04, 2018 4:36 am

Hi is anyone able to help?

thanks

Newbie

Posts

Joined
Fri Feb 02, 2018 9:57 pm
Who is online

Users browsing this forum: Semrush [Bot] and 58 guests