Re: Adding to an existing web site
Quote:
Originally Posted by
Adalast
Luckilly all of their pricing is flat rate, so what is engraved is not an issue. All products will only have one price each. I think I could get this working, if i could just figure out how to make it look right to fit into the site. Would I be able to make just the 4 pages that have to do with eCommerce with ZC and leave the things like their photo gallery and contact pages how they are? Would I be able to get the ZC pages to sit inside of the HTML site in any way? Perhaps with an <iframe>. If i can do that, I would need to remove the interface completely and just leave the individual products and their accompanying text fields without any of the navigation stuff. Somehow I feel like this should be a whole lot simpler than it is shaping up to be. Is there no way to just have ZC handle the cart portion only and accept input from other HTML pages with forms on them? That's all I really need, other than the flash output portion, which should be able to be accomplished with a PHP intermediary script that is called by the Flash application and hands the variables to the cart. I don't need an interface. I don't need any navigation, search or category functions. I just need a button that puts the information from the HTML form into the cart and lets people pay for the products. Does it really need to get all complicated or is there an easier way that I am just missing?
(Sorry if this came off as a curt, I am feeling a little overwhelmed by the whole prospect of how to get this working. It sounds like I should be able to do everything I need with ZC, but I would love it if I could clear the superfluous clutter out.)
Zencart (like all generic carts) cannot be "sliced up" and used piecemeal. There are almost a million lines of code in a comprehensive installation - all dependant in some way on each other.
And embedding into a frame is a no - no . Payment gateways will reject a pass from an iframe and you will also encounter serious session issues.
Session issues will also be a problem if you "house" zencart in a sub-directory as these are timed to expire (for very valid security reasons). Basically, this means that if I am on your site, adding products to the cart, and I get distracted into a gallery that is not an embedded component of your store... if I spend too long in that gallery, the shopping cart section of the site will expire the session and the shopping cart will evaporate.
Customers will not (in the majority of cases) attempt to re-fill the cart and will simply take their business elsewhere.
So there are a LOT of supplementary technical AND procedural considerations - issues that relate to the protocols of things like cURL-based bi-directional communication, invoking of SSL at critical junctures, session management...
You only need to really concern yourself with the details of the above suff when you start looking for techniques to embed ZC into an established site. If you do the opposite (embed the site into ZC) then the above issues are largely taken care of.
Re: Adding to an existing web site
Quote:
Originally Posted by
Kim
If we could see what you have designed it would b e easier to give you good answers.
Here is the link to what I have so far. Not sure if it's good or not, but if you have any good constructive suggestions beyond the scope of the current problem please feel free to share them. I have not started on the diamond or bible pages yet, I decided that it would be best if I got the commerce part working before I stepped into that section. If you need me to, I can knock out those pages tomorrow and we can go from there.
Re: Adding to an existing web site
The design you have so far can easily be incorporated into Zen Cart.
Re: Adding to an existing web site
Quote:
Originally Posted by
schoolboy
Zencart (like all generic carts) cannot be "sliced up" and used piecemeal. There are almost a million lines of code in a comprehensive installation - all dependant in some way on each other.
And embedding into a frame is a no - no . Payment gateways will reject a pass from an iframe and you will also encounter serious session issues.
Session issues will also be a problem if you "house" zencart in a sub-directory as these are timed to expire (for very valid security reasons). Basically, this means that if I am on your site, adding products to the cart, and I get distracted into a gallery that is not an embedded component of your store... if I spend too long in that gallery, the shopping cart section of the site will expire the session and the shopping cart will evaporate.
Customers will not (in the majority of cases) attempt to re-fill the cart and will simply take their business elsewhere.
So there are a LOT of supplementary technical AND procedural considerations - issues that relate to the protocols of things like cURL-based bi-directional communication, invoking of SSL at critical junctures, session management...
You only need to really concern yourself with the details of the above suff when you start looking for techniques to embed ZC into an established site. If you do the opposite (embed the site into ZC) then the above issues are largely taken care of.
ok... surprisingly that all made sense to me. it is late so you will have to pardon my poor grammar. what would be needed to create the pages i need to work in zencart? would i need to completely remake the website or could i just make the 4 pages that are involved in the sales aspect of it? if i were to make the 4 pages, would i be able to make them indiscernible from the rest of the site? for me the whole setup seems a little overwhelming and alien to how i'm used to doing web development. I like being able to look at all of my code and see what is going on when i'm editing... i think that might be why i have such a problem with actual programing languages... you have to make the entire thing before you can even see what it is going to look like. is there any way i can convert my HTML site into a format that will work with ZC? once i make the pages... how do i put the information on them? how do i do layout? if i am going to do this, i am going to be starting with a blank skillset and i am completely lost.
Thank you all so much for all of the help you have given me today. i wish there were some way i could repay you all.
adam
Re: Adding to an existing web site
There are no "pages" in zencart...
There are resources, elements and functions.
The resources are "clumps" of information - usually housed in the database - that are gathered up when needed.
Elements are generally static components, such as images, bundles of html (usually housed and stored in <divs>) and other things like flash files (if you use them)
Functions are generally algorithms in the code that perform calculations, check validity and relevance, and assemble the data.
Zencart (like any CMS) uses a programming code (php) to "cobble" pages together "on the fly". Depending on the link clicked by a visitor, the php gets to work assembling a page from the resources and elements, making sure to invoke any functions along the way, and then it parses the result into a template which is rendered in html and then sent to the broswer.
When the visitor navigates out of that page, it "evaporates". It ceases to exist, and the link (or button) that was clicked will result in the assembly of a brand new page.
Any given "page" can comprise several hundred individual components - all cobbled together by the php.
So, there can be literally thousands of ways that a CMS website can extract all these bits (resources, elements and functions) to build "dynamic" pages. A zencart site (depending on the number of products it hosts) can have tens of thousands of potential "pages" - each "page" created only for the duration it needs to be visible in the user's browser.
So...
UN-learn all you know about HTML page editing. While it extremely helpful to have this knowledge, it is of no practical use to you when designing your template. The template is written in php.
Yes... you will see "bits" of html code written into the php (because ultimately the "cobbled" page has to be in html format for the browser to render it), but you cannot edit a "page" in the same way you would with Dreamweaver - the "page" does not exist!
Re: Adding to an existing web site
I may have a solution for you...
Tell me...
How easy is it to get your "box builder" flash file to create a unique link?
For example... I can use your box builder to select a whole range of colours and components...
The final TAB is "SUBMIT ORDER"
If you can get your flash file to write a unique URL - based on the selections made, you could have an answer.
Let's say I make the following choices...
1. Satin Color = Navy Blue
2. Flower or Bow = Bow
3. Text Input (ignore this for the moment)
4. Image = Wedding Bells
5. Ribbon Color = Fossil
If you can get this to parse a unique URL, there may be a solution... So, tell me if you can get a unique URL out of your system - based on the choices...
EG: for my choices above, the system would present the following URL:
index.php?main_page=product_info&cPath=558_578&products_id=1558
However... if I choose a different color RIBBON, say "Chutney", then the URL could be...
index.php?main_page=product_info&cPath=558_578&products_id=1546
Can yiou get your system to generate such unique links, based on the array of choices?
Re: Adding to an existing web site
Quote:
Originally Posted by
schoolboy
How easy is it to get your "box builder" flash file to create a unique link?
I suppose it wouldn't be to have each button change a variable, then when the "add to cart" button is hit, the variables are strung together to create a unique web link. There is a PHP call [sendAndLoad("mailer.php", my_vars, "POST")] that handles sending out the information right now. I think if i change that so that the mailer.php call (which is in there to send an email with the variables once the button is hit) to something like "mailer.php?main_page=product_info&cPath=558_578&products_id="+variable1+variabl e2+variable3+variable4 it should call the unique item code. I know that i won't be using a "sendandload" because that is for sending the whole code. But if I call it as a web link in the browser, I should have no problem doing it.
think that would that work? and if i do that, how would i get the text fields out?
Re: Adding to an existing web site
Here's my thinking...
embed the box designer in an IFRAME inside a zencart page.
(I do this on a couple of sites)
The customer can still build their box using the designer.
When they have their design done, the URL generated during this process points to a PRODUCT in zencart.
It means you have to create a separate product in zencart for every box variation - but each will have its own category and product ID - which is what zencart locates...
Hence the URL:
index.php?main_page=product_info&cPath=558_578&products_id=1558
embedded into the box designer's CART link, will take them to the product they have just configured...
Re: Adding to an existing web site
Quote:
Originally Posted by
rstevenson
This is the part I just cannot understand. How could anyone take on a job that includes an eCommerce component, and design the whole site almost to completion, and only then go looking for the eComm part? That is just plain nuts, if you don't mind my saying so.
Rob
Rob, perhaps this might help you understand.
I have written some Python scripts that allow the user to put their 3D product purchase history into a database. I did this first for my own use, showed it to some friends, they showed it to some friends...and it has become a product to sell. So, I needed a HTML/php/MySQL web site to sell these (since the potential market could be hundreds if not thousands, I wanted to avoid the casual e-mail sales). I know HTML, but not php/MySQL...so I bought a book, modified the code to reflect my needs, and now just need the PayPal shopping cart, with the IPN capability that the book doesn't cover. I looked around, found Zen Cart, and I do like the capabilities of the platform...but it really isn't the most obvious learning path when you first dive into the pond. I finally read most of the available info, 3 days long hours, and think I have the core of an understanding of how & what it does. I actually think I may have something up & working in a couple of days. But I too am not pleased with having to re-code everything I already wrote - I will do it, but that doesn't make me eager to do so.
But to have to deal with the blindness - almost arrogance - of "This is the part I just cannot understand." is irritating...not everyone of us who comes to this point does so as fully knowledgeable of all you have to offer us. Some of us got here through some fairly thick underbrush, and are weary of having to learn yet "another" new way to redo what we've already done. And we DO appreciate the help we are getting - thus far I've gotten some great assistance. The WIKI, once you get orientated, is very useful. But being looked down at for having tried to do it without you is not helpful. Help if you can, but remember that not everyone is as lucky as you to have found Zen Cart right at the start, avoiding the stumbles...in fact, I consider the time spent stumbling as very useful in seeing the advantages of your product.
Re: Adding to an existing web site
Quote:
Originally Posted by
schoolboy
Here's my thinking...
embed the box designer in an IFRAME inside a zencart page.
(I do this on a couple of sites)
The customer can still build their box using the designer.
When they have their design done, the URL generated during this process points to a PRODUCT in zencart.
It means you have to create a separate product in zencart for every box variation - but each will have its own category and product ID - which is what zencart locates...
Hence the URL:
index.php?main_page=product_info&cPath=558_578&products_id=1558
embedded into the box designer's CART link, will take them to the product they have just configured...
I see where you are going with this... and I see how it would work. I really really would like to avoid it if at all possible though because the permutations are astronomical. 192 ribbon colors * 25 satins * 2 boxes * 18 images (currently, though that is dynamic so they can add more) = 172800 unique entries. Then for every image they want to add... there would need to be 9600 new items added to the database. I don't know about anyone else, but entering 172k database entries all for the exact same product would take me way too long and get really tedious... especially since it doesn't change the price. Isn't there a way to have a script store the variables when the box gets added to the cart, then when the payment is cleared and the emails for the receipt are sent out it reads those variables and drops them into an email to my client? Even with my limited coding skills I can only imagine that making that work would be faster than virtually duplicating the entries 172k times. As far as the eCommerce is concerned, none of the settings mean anything, it's just a count of the number of each items. What is written or what other options they pick have no meaning to the price or what needs to be displayed in the cart, unless there is an easy way to display the options they have selected without making an individual sales object for each and every option. In all reality, I could get away with just 3 objects for sale, one for the diamonds, one for the bibles and one for the boxes since (barring coupon codes from the hotels) the prices are static for each item.
I was looking at just using Google Checkout to do it and that is still an option for me if I need to, but I couldn't figure out how to make it display a cart page, just the floating one up in the corner which I know for a fact that my clients will not like. Is there some other way that I could be doing this that might be simpler. An HTML form with a submit button that adds to a cart would suffice I think for this client. The cart would need the above mentioned features of the step 1 shipping calculator and Google/Paypal/Credit Cart purchase options and a catchka or however you spell it to help weed out the bots.