|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Congratulations
Hello!
<br> I would like to congratulate the author for the very well writen articles of <b>E-Commerce.</b> <br> I think that after reading the 3 articles, anyone is able to build an inteligent and estructured Web-Shop. |
|
#2
|
|||
|
|||
|
Re: Congratulations
My feelings exactly!!
<br> Great job! |
|
#3
|
|||
|
|||
|
Re: Congratulations
Good Day,
<br> <br> Ying Zhang thank you for going through this whole thing in a 3 step process it gave me a chance to go through each script and understand the php/mysql relationship. The script works awsome and just wanted to thank you for putting your knowledge and expertise in this area to good use. Thank you once again. Now as other people come in and work on this project maybe they will add there own little hacks here and there and share them with the open source community. <br> <br> peace <br> Cameron Holt <br> Inside Media Inc. |
|
#4
|
|||
|
|||
|
images
Congratulations, the series of articles has been very useful for me a newbie. Can you indicate how to insert images to illustrate the description of the products?
|
|
#5
|
|||
|
|||
|
Great tutorial, template modification
Yet another kick-*** tutorial from Devshed! Thanks for that and future tutorials :)
<br> <br> The only problems I had was when checking the pages in Netscape & Mozilla. Some pages were misformatted and others didn't display at all. <br> <br> I went through the templates and fixed nested tags, moved (style)(/style) into (head)(/head), made sure all code worked back to version 2.0 browsers, etc... <br> <br> If you want to see my changes and/or use them for mymarket3.zip <br> <br> <a href=http://my.voyager.net/shryqe/mymarkhtmlfix.zip>New Templates</a> <br> <br> Thanks again for the great tutorials. I'm using what I learn to (again) try to convince my employers to use PHP instead of ASP. |
|
#6
|
|||
|
|||
|
Issue with print_category_tree() ?
First of all I would like to thank the author and devshed for agreat series. I learned a heck of a lot of PHP quickly by hacking around with the mymarket code. After I had the code for part 3 running I noticed that when templates/product_details.php was loaded and print_category_tree() was called with $prod->id I got bad category navigation. This was remedied by calling print_category_tree() with
<br> $prod->category_id in templates/product_details.php. Thanks again for a great tutorial! <br> Scott |
|
#7
|
|||
|
|||
|
Re: Issue with print_category_tree() ?
Oops, thanks for spotting that :)
<br> <br> I will fix that up in the code and upload a new tar to DevShed. |
|
#8
|
|||
|
|||
|
Re: images
I want to know the same thing. I'm thinking of adding to the admin page a way to upload files(jpg or gif) to whichever product then on the display page of the product have the img src display the path to the file.
This shouldn't be too hard, but if anyone has already done it would you mind sending me some of the code as an example? |
|
#9
|
|||
|
|||
|
Re: images
Sup, I was trying to insert the images and came up w/ making a new column in your db and then using this line
<img src="<? pv($prod->pics) ?>" align="right"> and as default have a "No Image Aval. For This Product" picture.. I'm sure you could us a if then to insert an image if there is on and not if there isn't .. hope this helps.. |
|
#10
|
|||
|
|||
|
Re: images
*sigh*
<!-- Code --> <p><pre><font color=#008000><xmp> <img src="<? pv($prod->pics) ?>" align="right"> </xmp></font></pre><p> <!-- Code --> |
|
#11
|
|||
|
|||
|
Re: Congratulations
Thank you
Thank you Thank you. Better than any book. The scripts work without ANY problems. Very well written and a delight to read. Thanks Ying Zhang. David R. Hoodenpyle |
|
#12
|
|||
|
|||
|
typo in code
The code to create the mysql Orders table has a typo, both in the multi-page and
printer-friendly versions. There should be a comma after the line "PRIMARY KEY (id)" so it reads: Code:
CREATE TABLE orders ( id int not null auto_increment, username varchar(16) not null, o_timestamp datetime, a_timestamp datetime, status tinyint, status_details varchar(255), custinfo text, comments text, amount float(5,2), PRIMARY KEY (id), INDEX username (username) ) |
|
#13
|
|||
|
|||
|
Re: images
I tryed this
<!-- Code --> <p><pre><font color=#008000><xmp> <img src ... </xmp></font></pre><p> <!-- Code --> and added a new column to the products table (pics) But it didn't work when i look at the source i see: <!-- Code --> <p><pre><font color=#008000><xmp><img src="" align="left"></xmp></font></pre><p> <!-- Code --> Can you be more specific please... I'm just a newbie... :) Thanks, Gerry |
|
#14
|
|||
|
|||
|
Re: images
What is in that pics column? Do you have a valid image path and filename?
|
|
#15
|
|||
|
|||
|
Re: images
a picture name: 001.gif
<br> <br> I tryed /001.gif <br> images/001.gif <br> ../images/001.gif <br> /images/001.gif <br> /www/mymarket/images/001.gif <br> <br> Still the same: Warning undefined property <br> <br> It just doesn't display anything i put in the column ! |
![]() |
| Viewing: Dev Shed Forums > Other > Development Articles > Building an E-Commerce Site Part 3: Catalogs and Shopping Carts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|