Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Attributes besides price in catalog view


FrozenDice

Recommended Posts

I have been using Commerce.cgi, which is looking horrible compared to this wonderfull script. I am wondering if it is able to do a few special features though. The website sells approved educational materials, for students, such as audio cd's online mp3's and the students get credits which they need to legaly continue to practice medicene. It's important that students are able to see the amount of "CEU's" each course has, the price isn't important. Can I have the system display the # of ceu's a course is worth, and which student it is for in the catalogue view(where you see a grid of products)? Most important is just for them to be able to see the #. Also when they click on the product, is it possible to show a movie or flash animation instead of a picture of the product? I am proficient at a number of languages, if it doesn't I might be able to modify it to be able to. Lastly, what does this run on? Is it a CGI(Perl), script, MySql? And is everything free? I understand it's under the GPL, but are there any membership fees, or that sort of trickery. Thankyou!

Link to comment
Share on other sites

I have been using Commerce.cgi, which is looking horrible compared to this wonderfull script. I am wondering if it is able to do a few special features though. The website sells approved educational materials, for students, such as audio cd's online mp3's and the students get credits which they need to legaly continue to practice medicene. It's important that students are able to see the amount of "CEU's" each course has, the price isn't important. Can I have the system display the # of ceu's a course is worth, and which student it is for in the catalogue view(where you see a grid of products)? Most important is just for them to be able to see the #. Also when they click on the product, is it possible to show a movie or flash animation instead of a picture of the product? I am proficient at a number of languages, if it doesn't I might be able to modify it to be able to. Lastly, what does this run on? Is it a CGI(Perl), script, MySql? And is everything free? I understand it's under the GPL, but are there any membership fees, or that sort of trickery. Thankyou!

 

 

It cracks me up when people come in here with absolutely no knowlege of php and/or mysql and/or even html programming.

 

Yes you can do that. In fact you can pretty much do anything you can come up with. Adding a flash video to your products page is insanely easy. You just have to paste the html code into the product's description in the admin interface.

 

--------------------------------

 

As for editing the product listing to display another field.

 

First you would have to go to the database, find the correct table for all the product info, then add a field CEU so you can keep track of that stuff.

 

Then youd have to edit the admin interface for adding a product so it gives you another field that way you can enter the product CEU as your entering the product.

 

*also if you wanted to use it with easypopulate I believe you would need to edit easypopulate to handle one extra field (in the right location)

 

 

After that you would need to edit the actual product listing page and add an extra column (same as you would in a normal table.

 

[The way php works in this instance is you will use a "block" of php code inside normal php.

 

Say for example my name (Brett) was stored in the value $name

 

You might put <td> <? echo $name ?> </td> to print my name. As you can see the normal html code is outside of the php code. Sometimes it is inside. Either way, it still looks the way it did before any php code was ever among it.]

 

 

 

So. Once you add the column youll need to add the correct block of code to pull the items number.

 

 

This should all be simple to do. Your best bet is to use the existing code as a reference (for example, find the way that the system displays the products price, because the CEU code is probably the same way).

 

 

Copy and pate the code, MAKE SURE TO BACK YOUR STUFF UP, and you should be able to change the variable name to that of your CEU code and hence call it upon the screen.

 

(You will also need to edit the product listing page, and possibly some others, whichever you want to include the variable)

 

 

About calling the variable, it will probably be a component of a sql query so you will need to know the correct syntax for pulling stuff out of a query. Its all in the code already though so just do a find for

 

$query =

 

 

If you have any questions feel free to respond or e-mail me

Link to comment
Share on other sites

I have been using Commerce.cgi, which is looking horrible compared to this wonderfull script. I am wondering if it is able to do a few special features though. The website sells approved educational materials, for students, such as audio cd's online mp3's and the students get credits which they need to legaly continue to practice medicene. It's important that students are able to see the amount of "CEU's" each course has, the price isn't important. Can I have the system display the # of ceu's a course is worth, and which student it is for in the catalogue view(where you see a grid of products)? Most important is just for them to be able to see the #. Also when they click on the product, is it possible to show a movie or flash animation instead of a picture of the product? I am proficient at a number of languages, if it doesn't I might be able to modify it to be able to. Lastly, what does this run on? Is it a CGI(Perl), script, MySql? And is everything free? I understand it's under the GPL, but are there any membership fees, or that sort of trickery. Thankyou!

 

 

I've been using the program for about a month and I have yet to find something that is being charged for. Everything is fully functional from the get-go and there are no hidden fees (especially if you know how to code your own stuff).

 

Also, if your looking at opening up shop, you might also want a chat program. Check out Crafty Syntax Live Help for an open source instant message chat program. The one I'm running on my site even has 256 bit ssl encryption so it's able to recieve credit card numbers.

Link to comment
Share on other sites

Actually BrettLefty I am proficent at PHP, html, some javascript, and MySql. I didn't at this point get a chance to see yet how this product works. Commerce.cgi which I used earlier was written horribly, to change a small thing such as the position of a word, you would have to hunt through no less than 10 perl cgi files. If this is as easy as it sounds, this should be a peice of cake. It's obvious to me now. :blush:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...