Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / New Products Layout, and Customisation

New Products Layout, and Customisation

Locked

Views: 4,549

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
11 Dec 2006, 2:29 AM
#1
dvasdekis avatar

dvasdekis

New Zenner

Join Date:
Nov 2006
Posts:
70
Plugin Contributions:
0

New Products Layout, and Customisation

Is there any way to change the new products layout to a system used by a site like www.pcshopper.com.au? My current site is at www.headsonic.com
Thanks!

12 Dec 2006, 1:42 AM
#2
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

dvasdekis:

Is there any way to change the new products layout to a system used by a site like www.pcshopper.com.au? My current site is at www.headsonic.com
Thanks!

aha yes.. i too just made a post for a very similar layout. Looks like you already got the text to the right side of the image.. how did you do it?

12 Dec 2006, 2:19 AM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: New Products Layout, and Customisation

I was just wondering why http://www.headsonic.com.au/ is running completely ssl on all pages......:huh:

12 Dec 2006, 2:26 AM
#4
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

barco57:

I was just wondering why http://www.headsonic.com.au/ is running completely ssl on all pages......:huh:

Please keep that as a PM.

12 Dec 2006, 2:46 AM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: New Products Layout, and Customisation

qhome,
:huh: you lost me....I'm not sure what your refering to......If its the full url, just hover over the url provided and it shows.......go to the page and click on link and your in https mode....no secret that they are all secure pages.......So please if I have missed something let me know as I have seen other discussions about running the cart this way......not recommended. So if I am breaking some sort of rule by asking a question about something that is publicly posted and available to anyone who clicks on the link explian it to me.....I not trying to be a smart a$$ I'm just stating the obvious.....clue me in
In fact in my original post I right clicked on the above provided url and copied link location and pasted it into my question......

12 Dec 2006, 2:57 AM
#6
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

barco57:

qhome,
:huh: you lost me....I'm not sure what your refering to......If its the full url, just hover over the url provided and it shows.......go to the page and click on link and your in https mode....no secret that they are all secure pages.......So please if I have missed something let me know as I have seen other discussions about running the cart this way......not recommended. So if I am breaking some sort of rule by asking a question about something that is publicly posted and available to anyone who clicks on the link explian it to me.....I not trying to be a smart a$$ I'm just stating the obvious.....clue me in
In fact in my original post I right clicked on the above provided url and copied link location and pasted it into my question......

Im just saying that the topic is about product layout. Your question is more of a personal nature based on SSL on dvasdekis's site. But it deviates from the original topic that the thread title is in reference to. I am not saying that your question isn't valid, but would probably have a better discussion in an SSL related thread or thru private discussion with the store owner as to why he chose to use ssl all over.

12 Dec 2006, 3:00 AM
#7
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: New Products Layout, and Customisation

Oh...you got a point there:blush:

12 Dec 2006, 3:19 AM
#8
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

I found where I needed to edit for that.

includes/modules/new_products.php the "text" array is set up here.

12 Dec 2006, 5:14 AM
#9
dvasdekis avatar

dvasdekis

New Zenner

Join Date:
Nov 2006
Posts:
70
Plugin Contributions:
0

Re: New Products Layout, and Customisation

qhome:

I found where I needed to edit for that.

includes/modules/new_products.php the "text" array is set up here.
Any insights from there that you've been able to dig up? I've looked through it and there seems to be the flexibility to do something like this, but actually pulling it off is going to be beyond my abilities, as I don't know php and all my code so far has been assisted or through trial and error.

I'll also look into the SSL issue, and try and dig up some links as to why it would be a bad thing. The only con I can think of is with possible SEO issues, but all pages are available both secured and unsecured.

12 Dec 2006, 5:22 AM
#10
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

dvasdekis:

Any insights from there that you've been able to dig up? I've looked through it and there seems to be the flexibility to do something like this, but actually pulling it off is going to be beyond my abilities, as I don't know php and all my code so far has been assisted or through trial and error.

I'll also look into the SSL issue, and try and dig up some links as to why it would be a bad thing. The only con I can think of is with possible SEO issues, but all pages are available both secured and unsecured.

Well I'm not sure how far you are lookin to go. I mainly wanted the text on the right side instead of underneath. I got that far. I am now trying to get a separator in between the tables and Im working thru making sure it works programmatically based on row/col amount selection. I got it workin almost perfect but one of my tables is still broken and im too tired to figure it out so im goin to bed :)

I do have some intermediate php knowledge so Im getting to where I want to be. What else are you trying to get? The only other thing I see is adding the "Add to cart" button to the box which i will work on after i get the programmatic tabling done.

12 Dec 2006, 6:09 AM
#11
dvasdekis avatar

dvasdekis

New Zenner

Join Date:
Nov 2006
Posts:
70
Plugin Contributions:
0

Re: New Products Layout, and Customisation

qhome:

Well I'm not sure how far you are lookin to go. I mainly wanted the text on the right side instead of underneath. I got that far.
To be honest I'd be happy with anything. A separator in between the table, so there's some sort of grid alignment would be fantastic, and if there's a way to get it to work programatically, all the better. To fill in some of the spare space below the product name with the beginnings of a description would be overwhelmingly awesome, but if that's too hard then I'm not overly fussed. I think that an add-to-cart button would be superflous though. People will read the description before hitting buy.

If you are happy to share your code, (and from your past efforts it seems like you are! :D Tabbed products looks awesome and really suits my line of sales, so integrating that is the next job for me) I'd be more than happy with whatever you manage to implement for yourself. Bringing some semblance of neatness to the front page is my overall goal for this bit of work.

12 Dec 2006, 3:59 PM
#12
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

dvasdekis:

To be honest I'd be happy with anything. A separator in between the table, so there's some sort of grid alignment would be fantastic, and if there's a way to get it to work programatically, all the better. To fill in some of the spare space below the product name with the beginnings of a description would be overwhelmingly awesome, but if that's too hard then I'm not overly fussed. I think that an add-to-cart button would be superflous though. People will read the description before hitting buy.

If you are happy to share your code, (and from your past efforts it seems like you are! :D Tabbed products looks awesome and really suits my line of sales, so integrating that is the next job for me) I'd be more than happy with whatever you manage to implement for yourself. Bringing some semblance of neatness to the front page is my overall goal for this bit of work.

Here is what I have so far:
http://www.unbannable.com/zen/index.php?main_page=index

Note I only changed the Monthly New Products box so far. I have to do the same for:
Monthly Featured, and Monthly Specials but they should be really quick since the bulk of the work was done in the tpl_tabular file.

I am also wondering tho how hard it would be to implement them similar to the way the Configuration->New Listing works so you can use simple 4-char mapping similar to the way it shows up on the New Products, Specials, All products listing pages (which are different than the Monthly displays)

The Additional Images, Customer Also Purchased, and Cross Sell also use the tpl_tabular_php file so I will either have to do it to them as well or make a separate tpl_tabular file for them.

12 Dec 2006, 4:32 PM
#13
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

ok i got it on all the "monthly" boxes. Tested with all different column amounts, although any more than 4 will cause massive page stretching so I think it would be wise to look into making the text location configurable so that the user can decide where it should be. I'll also look into adding a short description and add to cart button, making them both user configurable.

12 Dec 2006, 10:26 PM
#14
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: New Products Layout, and Customisation

I took a peek.....and I have to say most excellent work:yes:

13 Dec 2006, 12:59 AM
#15
dvasdekis avatar

dvasdekis

New Zenner

Join Date:
Nov 2006
Posts:
70
Plugin Contributions:
0

Re: New Products Layout, and Customisation

barco57:

I took a peek.....and I have to say most excellent work:yes:
Indeed it is. As for how to implement it, that's another matter.

Would it be as simple as copying the tpl_tabular file? Surely there's more to it than that.

13 Dec 2006, 11:10 AM
#16
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

dvasdekis:

Indeed it is. As for how to implement it, that's another matter.

Would it be as simple as copying the tpl_tabular file? Surely there's more to it than that.

Ya it always simple with zen :)

Just copy:

includes/modules/new_products.php
includes/modules/featured_products.php
includes/modules/specials_index.php
includes/templates/YourTemplate/common/tpl_columnar_display.php

into override folders for the main functionality.

I'm still looking at:

  • how the number based location thing works but that would still only be a few database entries. that might be saved for an upgrade to the contrib tho :P
  • Adding short descriptions
  • Adding more info or Buyitnow link based on if there are attribs or not. Similar to the product_listing page.
14 Dec 2006, 12:53 AM
#17
dvasdekis avatar

dvasdekis

New Zenner

Join Date:
Nov 2006
Posts:
70
Plugin Contributions:
0

Re: New Products Layout, and Customisation

Well, I'll keep checking this thread for when you decide to make it public.

Thanks for the effort!

15 Dec 2006, 7:29 AM
#18
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: New Products Layout, and Customisation

Hi Q,

I really appreciate your effort! It is very nice indeed... :yes: :laugh: What I really like is how you gonna put the 'Add to Cart' or 'More Info' link on it...

15 Dec 2006, 8:47 PM
#19
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: New Products Layout, and Customisation

tajul_ashyqin:

Hi Q,

I really appreciate your effort! It is very nice indeed... :yes: :laugh: What I really like is how you gonna put the 'Add to Cart' or 'More Info' link on it...

OK I have this so far:
http://unbannable.com/zen/

  • (for new products only at this point) I've removed the quantity add at this point and left only buy now or more info but i may put it back and allow you to choose how you want to display it but the quantity box stuff was taken from the product_listing page which uses a global add to cart button at the bottom when using quantities. So I may either just hack a button in underneath each product or replicate the code method from the product info page instead.

  • I've also enabled the ability to put the text to the left, right, or bottom of the image for each the new products, specials, and featured products. (currently showing text to the right)

  • I need to make some additional support for additional images and customers also purchased as they use the tpl_columnar as well and need to be updated with supported tables.

16 Dec 2006, 1:01 AM
#20
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: New Products Layout, and Customisation

qhome:

OK I have this so far:
http://unbannable.com/zen/

  • (for new products only at this point) I've removed the quantity add at this point and left only buy now or more info but i may put it back and allow you to choose how you want to display it but the quantity box stuff was taken from the product_listing page which uses a global add to cart button at the bottom when using quantities. So I may either just hack a button in underneath each product or replicate the code method from the product info page instead.

  • I've also enabled the ability to put the text to the left, right, or bottom of the image for each the new products, specials, and featured products. (currently showing text to the right)

  • I need to make some additional support for additional images and customers also purchased as they use the tpl_columnar as well and need to be updated with supported tables.

:laugh: I like it! I think you should expand the 'Buy Now' and '...more info' link to the featured & monthly specials products and if you can add a 'quantity box', its should be helpful.