On Sep 26, 2011, at 8:30 AM, neil.west1 wrote:
I’m creating a replacement site for a client and pushing the boundaries of what I know in the process. It’s going to have 1,000ish products on it and I’m using a combination of FW and webyep.
Stop right there. WebYep is ideal for allowing the client to update a handful or two of pages, or to modify snippets within some or all pages (global footer/sidebar) but it is no substitute for a catalog application of this scope. You’re going to want to investigate shopping cart software or services, and use that to build your store – even if it’s not a store where you can buy things directly. This degree of product customization will become a maintenance nightmare for you and your client. I’m sure it’s technically possible to use WebYep for this, but you would be well out there on the bleeding edge with this many pages.
Each of the individual product pages will be created within FW (to enable simple site search to work), but other than the product name, all details will be inserted via webyep.
Simple Site Search will only index and find content that is static – typed into your page in Freeway. Anything you enter with WebYep will be invisible to it. A good catalog application/service will index and search all of the dynamic content in your store.
The client’s current site is not an ecommerce site but they give a link on each page to submit an enquiry form. That form includes the name/part no. shown on that particular product page.
- How do I ‘attach’ and send this data with a single form instead of setting up a form and php script for every page?
It’s pretty simple to pass a variable to a single form. For example, let’s say you have enquiry.php written to accept a querystring (GET) variable. You would write that form page just once, then each link to that page would look like this:
Do that for each product in your catalog, and you’re all set. Inside enquiry.php, you would simply add a hidden form element named product, and set its value to the value of the
$_GET['product'] attribute that PHP helpfully provides you. No matter what form handler you used, the ‘product’ variable would be passed along to it along with the rest of the form contents. If you want to pass multiple variables, just add them:
- How do I add a link to the ‘contact us’ button shown
What do you want this link to do?
Website here: http://www.thinktankcd.com/Test/BDSTLtemp/trailer-supplies/product-groups/products/breakaway-cable.php
freewaytalk mailing list
Update your subscriptions at: