Post by dazzul » Mon Aug 05, 2019 1:59 am

Running 2.3.0.2
I have a product where the customer chooses the amount of names they want adding to a product, then uses the text box to enter the names wanted.

Example
A customer wants to order two of the same product with different information.
Select "4 names", and enter them into the text field "Pete, Bob, Sarah, Amy" then press add to cart.
At this point i would like the page to either reload, or clear all the current entered options so they are blank for the customer to then type the next details in.

Is there a way this can easily be done?

Thank you.
Daryl

New member

Posts

Joined
Mon Feb 10, 2014 3:42 am

Post by thekrotek » Mon Aug 05, 2019 2:32 am

Yep, you can reset all values with JS. No need to reload the page.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by dazzul » Wed Jan 11, 2023 6:38 am

Sorry for the very delayed reply, the same product is causing the same issue.

How would I clear all the options with JS upon "add to cart" please?

Kind Regards

New member

Posts

Joined
Mon Feb 10, 2014 3:42 am

Post by mmosolution » Mon Mar 27, 2023 5:30 pm

I can do that task for you

Image
MMOSolution.com
"Changing your challenges into opportunities!"


User avatar
Newbie

Posts

Joined
Mon Dec 05, 2016 11:58 am
Location - Vietnam
Who is online

Users browsing this forum: Bing [Bot] and 177 guests