Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 10th, 2000, 03:43 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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.

Reply With Quote
  #2  
Old June 11th, 2000, 03:07 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Congratulations

My feelings exactly!!
<br>
Great job!

Reply With Quote
  #3  
Old June 11th, 2000, 09:10 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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.

Reply With Quote
  #4  
Old June 11th, 2000, 02:21 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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?

Reply With Quote
  #5  
Old June 11th, 2000, 02:56 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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.

Reply With Quote
  #6  
Old June 11th, 2000, 03:16 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #7  
Old June 11th, 2000, 06:22 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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.

Reply With Quote
  #8  
Old June 12th, 2000, 01:29 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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?

Reply With Quote
  #9  
Old June 12th, 2000, 08:08 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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..

Reply With Quote
  #10  
Old June 12th, 2000, 08:14 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: images

*sigh*


<!-- Code -->
<p><pre><font color=#008000><xmp>
<img src="<? pv($prod->pics) ?>" align="right">
</xmp></font></pre><p>
<!-- Code -->

Reply With Quote
  #11  
Old June 13th, 2000, 12:33 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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


Reply With Quote
  #12  
Old June 13th, 2000, 03:25 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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)
)



Reply With Quote
  #13  
Old June 14th, 2000, 12:24 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #14  
Old June 14th, 2000, 02:25 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: images

What is in that pics column? Do you have a valid image path and filename?

Reply With Quote
  #15  
Old June 14th, 2000, 02:59 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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 !

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Building an E-Commerce Site Part 3: Catalogs and Shopping Carts


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |