![]() |
|
|
|||||||||
Customization Questions From Users
I want the "Price:" label on the category page to read "Suggested Retail Price:". How do I do that? I only want the "Limited Quantity" message to show if there are four items in stock or less. How do I change this? if ($searchrow[14] > 0 AND $searchrow[12] == "No") and change it to: if ($searchrow[14] > 0 AND $searchrow[14] <= 4 AND $searchrow[12] == "No") Now, when your total inventory quantity for any item is 5 or more, the "Limited Quantity" field will not display. Change the 4 to whatever number you want as the stock limit field. TOP
How do I put the navigation bar or search box(es) on my other pages? On the top of the page that you want to add the navigation bar or search box, add the line: <script language="php">include("$DOCUMENT_ROOT/inc/openinfo.php");</script> This line must be ABOVE the <html> tag, and must be included in every page that you want to add components to. Then, in your page body, add the following line wherever you want the keyword search box: <script language="php">include("$DOCUMENT_ROOT/inc/search.php");</script> or this line where you want the navigation bar: <script language="php">include("$DOCUMENT_ROOT/inc/navbar.php");</script> and so on. With the deluxe version, you can also add the file catnum.php for the category drop down search, or the price.php for the price search. TOP
I would like to add the newest products to my index page. How can I do that?
(Deluxe Only) <script language="php"> The extra variables tell the cart something about the setup. The $imgwidth variable has to be included, and tells the system how wide to make the images listed in the new page. The $Item_Columns is optional, and used if you want the number of columns on a page to differ from the number of columns on your catalog page. For example, if you have two columns across on your product page, you can set this number to 4 and display four new products across your index page. The $LimitOfItems is optional, and is used only if you want to display a different number of items on your page. For example, if you only want to display the last 3 products entered, change this value to 3. TOP
Can I set different categories to display different column numbers on my catalog page? (Deluxe
Only) Open your products.php page (in the include file), and find the line just under the Javascript that shows: <?php Add a statement underneath that line that reads: if ($category == "Category 3") and so on. You'll basically be changing the $Item_Columns field to match whatever number of rows across you want to display on that page. For even more changes, you can set the number of rows down, too. So on your previous example, you could always keep the total products displayed to be 12 by changing the rows of each of the categories: if ($category == "Category 3") The result of the above is that, when someone selects "Category 3", they will see 12 items on a page - 3 across and 4 down. When they select "Category 2", they will see 12 items on a page - 2 across and 6 down. When they select "Category 1", they will see 12 items - a single line across and 12 down. TOP
How do I change the widths of my thumbnail images? <?php And change that number to whatever number you want as your image width. TOP
I want the heights of my thumbnail images to be a certain size instead of the widths. How do I do this? (Deluxe
Only) width=\"$imgwidth\" change that to read: height=\"$imgwidth\" If you want that height to be different than 100 pixels, use the question above to change that height by changing the "imgwidth" variable to a number other than 100. TOP
When a customer clicks on the thumbnail image to get a larger image, the screen that opens is too
large or too small. How can I change the size of that window? echo "<a href=\"view.php?image=$searchrow[5]\" target=\"_blank\" onClick=\"PopUp=window.open('view.php?image=$searchrow[5]', 'NewWin', 'resizable=yes,width=425,height=500,left=0,top=0,screenX=0,screenY=0'); PopUp.focus(); return false;\">"; or and change the width=425 to the width you want the screen to be, and the height=500 to be the height you want the screen to be. TOP
Is it possible to set the title of my catalog page to match the category or item my customer is
viewing? (Deluxe
Only)
<title>My Web Site</title> with the following: <title> And now your title will change if your customer searches for a particular category or item. This is helpful for search engine optimization as well, since it seems some search engines rely on the information in your title to display results. TOP
I see that the meta tags display specific tags for categories, but default tags for everything else.
Can I set it so that the tags display the keywords and descriptions of the items, too? (Deluxe
Only)
To set up the tags, open your openinfo.php page (in the "inc" folder) and change the following lines from: else if ($item) to: else if ($item) You don't need to add keywords and descriptions to each product if you use this code; it will simply display that info only if you have descriptions and/or keywords for that item. TOP
I would like for my system to set an item to "Out of Stock" when the inventory turns to
zero. Why doesn't the system do this, and how can I make it happen?
(Deluxe Only)
You'll need to modify the finish.php page in your main directory. Find the line that reads: $updinvquery
= "UPDATE Shop_Items SET Inventory='$newinv' WHERE ID='$itemid'"; That's all there is to it. This changes your out of stock entry to "Yes" automatically, when the inventory reaches a total of zero. TOP
I'd like to display my products from newest to oldest (or vice versa). How can I do this?
When a customer uses the Email a Friend feature, I'd like to send a copy to myself so I know what
they're viewing. How do I do this? mail("youremailhere", "Check This Out - Copy", "$fromname ($fromemail) was viewing $sitename and sent the following information to $toname ($toemail): Then replace youremailhere with your email address. Now when a customer uses this feature, you'll know what they were interested in. TOP
Is there a way for me to specify which items will appear as "new" on the site? First, set the "Units" to "99" for any product you want to appear as a new item. Next, open the new.php page in the inc folder and change the first line: $newquery = "SELECT * FROM Shop_Items WHERE Active = 'Yes' ORDER BY ID DESC LIMIT $LimitOfItems"; to: $newquery = "SELECT * FROM Shop_Items WHERE Active = 'Yes' AND Units='99' ORDER BY ID DESC LIMIT $LimitOfItems"; Now open the "products.php" page in the "inc" folder and change this line from: $searchquery .= " ORDER BY ID DESC"; to: $searchquery .= " AND Units='99' ORDER BY ID DESC"; That's all there is to it. Now, only items marked as "99" in the Units will appear under the new items listing. TOP
I'm using the muti column format for my site. Can I set it so that when someone clicks the link they go to the more information page as usual, but if they click the
picture they get a larger image? echo "<a href=\"$Catalog_Page?item=$searchrow[0]&ret=$ret\">"; to: if ($searchrow[5]) Now open the new.php page in the inc folder and change the following line from: echo "<a href=\"$Catalog_Page?item=$newrow[0]&ret=$ret\">"; to: if
($newrow[5]) Now your customers will get a pop up when they click images, but more information when they click the text link for a product. Again, this only works in the multi column view (ie. setting Product Columns to 2 or more in your administration area). TOP
How can I keep the inventory quantities from displaying on my catalog page? if ($searchrow[14] > 0 AND $searchrow[12] == "No") and change this to read: if ($searchrow[14] > 0 AND $searchrow[12] == "No" AND $Limited_Qty != "") Now access the system variables in the administration area and make sure the "Limited Qty Info" field has no information. Now the limited quantity. TOP
I would like to display just a single category or only sale items or all items when someone first accesses the catalog. How do I do this? // Catalog page is displayed with no vars Remove the above line by putting // in front of each line, so you'll have: // Catalog page is displayed with no vars Just underneath that, you'll see the following: // If there are no records, display error message Take off the "else", so you'll have: // If there are no records, display error message Now you'll need to open the openinfo.php page in your "inc" folder and find the lines that read: // Set www or ww3 for add page Just above those lines, add the following code if you want to display all records when the page first opens: if (!$category AND !$maincat AND !$keyword AND !$cond AND !$item AND !$catalog AND !$price AND !$sale
AND !$new) Or add the following code if you want to display sale items when the page first opens: if (!$category AND !$maincat AND !$keyword AND !$cond AND !$item AND !$catalog AND !$price AND !$sale
AND !$new) Or add the following code if you want to display a specific category when the page first opens: if (!$category AND !$maincat AND !$keyword AND !$cond AND !$item AND !$catalog AND !$price AND !$sale
AND !$new) Now when someone accesses the main catalog page they will see all records, sale records or a specific category, depending on what you chose. For even more customization, try adding a column number to display a certain number of columns across, even if it is different from your default, as in: if (!$category AND !$maincat AND !$keyword AND !$cond AND !$item AND !$catalog AND !$price AND !$sale
AND !$new) This will override the number of columns you set in your main system variables. TOP
How do I change the order of the categories? (Deluxe Workaround) One optional workaround is to sort the categories by keyword. To do this, add a set of numbers or letters to the beginning of each keyword so that you can sort them in alphabetical order. For instance, on the category you would like to display first, if your keywords are: candles gel wicks Add 001 to the beginning of your keywords, so you would have: 001 candles gel wicks Do the same for all the keywords on each of your categories. It is important to use 001, 002, 003, and so on (adding zeroes in front of the numbers to pad them to three digits). The reason for this is that the keywords are sorted by alphabet, and so you need to put in place holders to force the sort to show 001 first, then 002, 003, etc. After you have added numbers to the beginning of each category keywords, you will have to adjust your PHP pages to sort by keyword instead of category name. Open up the following pages: advsearch.php, categories.php, howtoshop.php, navbar.php, products_maincat.php and everywhere you see the text: ORDER BY Category change this to read: ORDER BY Keywords, Category Make sure you change this text on all instances on each of the above pages. That's it! Your categories will be changed to sort by keyword first. Now if you want, you can finish with this final step to change the meta keyword display. Open up the meta.php page and find the lines: if ($Meta_Keywords !=
"") and change it to: if ($Meta_Keywords !=
"") This will delete those first few characters off the meta keywords before displaying them in the catalog. This last step is only necessary if the extra characters bug you, because they don't actually "show" on the catalog to the site visitor - they're only displayed in the meta tags. TOP
I want to order my products in a very specific order. Can I do
that? (Deluxe Workaround) To do this, add a set of numbers or letters to the beginning of each keyword so that you can sort them in alphabetical order. For instance, on the item you would like to display first, if your keywords are: candles gel wicks Add 001 to the beginning of your keywords, so you would have: 001 candles gel wicks Do the same for all the keywords on each of your items. It is important to use 001, 002, 003, and so on (adding zeroes in front of the numbers to pad them to three digits). The reason for this is that the keywords are sorted by alphabet, and so you need to put in place holders to force the sort to show 001 first, then 002, 003, etc. After you have added numbers to the beginning of each item keywords, open the variables.php page (in the shopadmin folder) and find the lines: if ($OrderOfProduct == "rand()") (which will be around line 661), and just underneath those lines, add: if ($OrderOfProduct == "Keywords,
Item") Now, save the file to your server, and access the administration area. Choose "Keywords" from the values under "Product Order" and save. Items will now be sorted by keywords. TOP
How can I preview items before they are available to the public
(Deluxe) $searchquery = "SELECT * FROM Shop_Items WHERE Active = 'Yes'"; Change this line to: and save the file. (Note: be sure to back up the original, just incase!!!) Now, go to your catalog and select a category or item from your catalog. In the URL, at the very end of the page URL, enter &preview=yes For example, if you select a category and the URL is: http://www.yoursite.com/catalog.php?category=Votive+Candles Just add &preview=yes to the end, so you'll have: http://www.yoursite.com/catalog.php?category=Votive+Candles&preview=yes Which will display the inactive items. Note that you'll have to add this extra text any time you click a link, as it's not carried through the catalog. (You wouldn't want that anyway, because you don't want your customers to view inactive items.) TOP Stop back for more customization questions and answers. As we receive them, we'll add them here! |
||
|
Privacy Policy: We respect your privacy. We will never give your email to third party companies nor use it for sales Copyright 2002-2006 Small Biz Community, LLC |
||