Post by julianashcroft » Thu Jul 03, 2025 3:28 pm

I use ChatGPT a bit and have used it to build and test code, including Javascript, with some success and have incorporated the results into a web app my customers use.
I asked it if it could write an Opencart Extension, and it said it could. I gave it instructions for a universal stock option extension I have been thinking about, and it came up with all the elements of the extension. I haven't tested it yet, but I have a test site where I'll give it a try.

New member

Posts

Joined
Mon Feb 23, 2015 12:24 am

Post by khnaz35 » Thu Jul 03, 2025 4:54 pm

And?

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member
Online

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by JNeuhoff » Thu Jul 03, 2025 5:18 pm

khnaz35 wrote:
Thu Jul 03, 2025 4:54 pm
And?
Probably didn't quite go as planned :)

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by khnaz35 » Thu Jul 03, 2025 6:48 pm

Yeah looks like

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member
Online

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by Cue4cheap » Thu Jul 03, 2025 8:06 pm

julianashcroft wrote:
Thu Jul 03, 2025 3:28 pm
I use ChatGPT a bit and have used it to build and test code, including Javascript, with some success and have incorporated the results into a web app my customers use.
I asked it if it could write an Opencart Extension, and it said it could. I gave it instructions for a universal stock option extension I have been thinking about, and it came up with all the elements of the extension. I haven't tested it yet, but I have a test site where I'll give it a try.
And what does the universal stock option extension do?
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by julianashcroft » Thu Jul 03, 2025 8:56 pm

I've not had chance to test it yet, hopefully in the next day or two.

The general idea of the extension is that it controls stock across the store, so for example if you sell T-Shirts of different colours and sizes and print different designs on them, you could have say fifty products all using the same options. As things are now, when you sell a red shirt, stock only decreases on that one product, but the extension will reduce the stock across all products using the same option, same if you increase the stock levels of one, all will increase.

I have no idea if the AI generated extension will work. No doubt there will be glitches or crashes, but it's fun to experiment.

New member

Posts

Joined
Mon Feb 23, 2015 12:24 am

Post by khnaz35 » Thu Jul 03, 2025 9:04 pm

julianashcroft wrote:
Thu Jul 03, 2025 8:56 pm
but it's fun to experiment.
For sure, if you have a lot of time on hand why not to learn something new.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member
Online

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 25 guests