ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart Build To Order > Customizing BTO
  New Posts New Posts RSS Feed - HEader Images for Each Category
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HEader Images for Each Category

 Post Reply Post Reply Page  12>
Author
Message
Bruno View Drop Down
Newbie
Newbie


Joined: 07-May-2010
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bruno Quote  Post ReplyReply Direct Link To This Post Topic: HEader Images for Each Category
    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
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 01-June-2010 at 6:18am
Back to Top
Bruno View Drop Down
Newbie
Newbie


Joined: 07-May-2010
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bruno Quote  Post ReplyReply Direct Link To This Post Posted: 01-June-2010 at 3:34pm
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
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Posted: 02-June-2010 at 2:20pm
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.
Back to Top
Bruno View Drop Down
Newbie
Newbie


Joined: 07-May-2010
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bruno Quote  Post ReplyReply Direct Link To This Post Posted: 03-June-2010 at 1:43am
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
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Posted: 03-June-2010 at 2:15am
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.
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 03-June-2010 at 3:04am
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
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Posted: 03-June-2010 at 3:25am
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.
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Posted: 03-June-2010 at 3:57am
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
Back to Top
Bruno View Drop Down
Newbie
Newbie


Joined: 07-May-2010
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bruno Quote  Post ReplyReply Direct Link To This Post Posted: 03-June-2010 at 7:38pm
Your the best BRett, works great! Thanks a lot!!!
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.