HEader Images for Each Category |
Post Reply | Page 12> |
Author | |
Bruno
Newbie Joined: 07-May-2010 Location: Canada Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 01-June-2010 at 3:30am |
Hi,
Does anyone know how to make it so each category on the BTO page has a header image, like say for CPU I would want a header image that shows abit of info. Heres a good example: http://www.dinopc.com/shop/pc/configurePrd.asp?idproduct=766 Anyone know how to do that? Another question, if I want to use the floater panel, how do I do it so the price and customizations stay on the bottom as well not just on the floater...? Edited by Bruno - 01-June-2010 at 3:31am |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
http://wiki.earlyimpact.com/how_to/display_different_content_category
Should answer the first quesion :-) |
|
Bruno
Newbie Joined: 07-May-2010 Location: Canada Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Hi,
I looked at that, but it seems to only apply to category views..I can't find out how to change images on the product config page. Thanks |
|
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
|
Hey bruno, you're probably gonna have to edit configurePrdCode.asp. You would want to find the code from the category page which displays the image, then copy that code to the appropriate part of the configurePrdCode.asp page. I can take a look at it in the next couple days and can most likely provide you with a solution, but I don't imagine its very complicated. The instructions I mentioned above should work.
Just get the code that displays the category image (for example, from the subcategory section of a category page for the small image, or from the top of a category page for the large image) ...Then copy all of the necessary code to the configurePrdCode.asp page, and set it up such that each time it gets a different config category, it also gets that category's image URL. |
|
Bruno
Newbie Joined: 07-May-2010 Location: Canada Status: Offline Points: 0 |
Post Options
Thanks(0)
|
I would appreciate that, I am horrible with ASP. Do you know how to keep the prices at the bottom of the page while having the floater loaded?
Heres my page: http://xtreme-hps.com/shop/pc/configurePrd.asp?idproduct=2&qty=1 |
|
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
|
I'll take a look at the code to do that with the BTO item categories. Which floater are you talking about? I wasn't aware of any solution mentioned on here or built in. I have a floater working on my config pages:
http://www.liftchair.com/Monarch-Large-15p283-config.htm Which stays on the left when you scroll down. Is there another floater like that? I was unable to make my floater work while keeping the numbers on the bottom. I believe the javascript only updates one element and if you try to duplicate that element it messes everything up. You'd have to edit the javascript to contain two of each variable so it updates two elements, i think. |
|
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
Hi Brett,
Bruno is probably referring to this: http://wiki.earlyimpact.com/bto/btotricks-floating-prices This new feature was announced earlier this year (http://blog.earlyimpact.com/2010/01/using-floating-price-panel-on.html). By the way: we started using Twitter a few months ago to post quick, ProductCart-related updates. We believe it is a good idea for ProductCart users that like Twitter to subscribe. We are going to try to be as diligent as possible in posting through Twitter whenever we do think there is something of interest to ProductCart users (e.g. new blog post, new WIKI article, etc.). See: http://twitter.com/productcart Edited by earlyimp - 03-June-2010 at 2:21pm |
|
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
|
Thanks earlyimp, I'll check that out. Didn't mean to imply that it wasn't announced, only that I hadn't seen it. I wasn't signed up for the newsletter until recently.
|
|
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
|
Bruno, I figured out the solution. Search for this line:
configSpec_products.Notes FROM categories ...there should be two of them. one for the reconfigure table, and one for the configure table. Edit them to look like this: configSpec_products.Notes, categories.image FROM categories ...so you're adding one more variable to the database query. Then, search for: <%=pcv_tmpArr(1,pcv_tmpN)%> (there should be three of these) ...and... <%=CATDesc%> (there should be one of these) and add this code below the <tr>'s which contain those lines. There should be four total instances of the code: <%if pcv_tmpArr(31,pcv_tmpN)<>"no_image.gif" then%> <tr <%=strCol%>> <td colspan="4"> <img src="catalog/<%=pcv_tmpArr(31,pcv_tmpN)%>" /> </td> </tr> <%end if%> Tested it and it works on my store, but my configurePrdCode.asp is heavily modified. Here's an original v4 configurePrdCode.asp that contains the necessary modifications: configurePrdCode-catimg.zip Drop it in and let me know if it works. I haven't tested it. If your file is modified, the instructions should help you include this feature in your modified configurePrdCode.asp file. Edited by Brett - 03-June-2010 at 4:13am |
|
Bruno
Newbie Joined: 07-May-2010 Location: Canada Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Your the best BRett, works great! Thanks a lot!!!
|
|
Post Reply | Page 12> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |