Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Set up size chart not the attributes kind?

Set up size chart not the attributes kind?

Locked

Views: 1,792

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
21 Oct 2010, 1:40 AM
#1
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Set up size chart not the attributes kind?

We have a jpeg with the size chart on it,
How can we link it to our website,
Like when they click on it external it will pop up as example,
If anyone has a better way or knows how let me know,
Thanks,

21 Oct 2010, 2:26 AM
#2
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

hello,

You will need to upload image of your sizing to your web host.

Then add some html code to each product's info section to have a pop up window display the image. If it is the same size chart for everyone you can just copy and paste into each product.

21 Oct 2010, 2:52 AM
#3
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

What html code would that be?

21 Oct 2010, 3:08 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set up size chart not the attributes kind?

You could make an ez-page with the size chart, and put a link to that page in your product descriptions. Set it to open in a new window so the product page stays open.

21 Oct 2010, 3:31 AM
#5
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

Would link them all in the admin correct?

21 Oct 2010, 3:36 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set up size chart not the attributes kind?

Yes, in the product description entry field. Since the description won't process PHP, you can't use the zen_ez_pages_link() function, but will need to give the full URL of the page.

21 Oct 2010, 12:46 PM
#7
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

The url code of where my images is at correct?

21 Oct 2010, 12:54 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set up size chart not the attributes kind?

Correct.

21 Oct 2010, 2:42 PM
#9
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

What html code would be the easiest to use on this?
IMG code or just a reg html code?
I know how to write the image code im pretty sure,
The html not sure,
Thanks,

21 Oct 2010, 3:19 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set up size chart not the attributes kind?

The <img> tag is HTML code. If you put an img in the description, the image will show on the description page. If you want it on another page or popup, you will have to make an <a href=... link to it. Popups require javascript.

21 Oct 2010, 3:52 PM
#12
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set up size chart not the attributes kind?

It looks like the quackit would work as described. The htmlbasix describes putting the script in the document head, which is the correct way to do it, but in Zen Cart would require you to save it as a jscript_scriptname.js file in a certain location... perhaps more complex than you want to try right now.

21 Oct 2010, 11:43 PM
#13
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

Honestly i wouldn't mind a size chart like this zen cart site,
http://www.wedding-retail.com/index.php?main_page=product_info&cPath=2_33&products_id=354
at the bottom Color Chart Size Chart,
Here is the result,
http://www.wedding-retail.com/index.php?main_page=page&id=19
Would i do it as the same as we talked about earlier,
Notice its not popup,
Thanks,

22 Oct 2010, 3:10 AM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set up size chart not the attributes kind?

That site uses an ez-page for the size chart.

22 Oct 2010, 3:33 AM
#15
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

I see it in admin but how is that done?
Thanks,

22 Oct 2010, 3:43 AM
#16
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

I forgot to ask which one in admin?
I see it in 2 places,

22 Oct 2010, 3:48 AM
#17
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set up size chart not the attributes kind?

Tools > EZ-Pages is the place to create your page.

22 Oct 2010, 3:59 AM
#18
chrismaddox3d avatar

chrismaddox3d

Zen Follower

Join Date:
Aug 2010
Location:
tx
Posts:
103
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

So i can load my size chart image in there?
Thanks,

27 Oct 2010, 8:55 AM
#19
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Set up size chart not the attributes kind?

Yes you can.

1 Dec 2010, 4:12 PM
#20
brischish avatar

brischish

New Zenner

Join Date:
Dec 2010
Posts:
3
Plugin Contributions:
0

Re: Set up size chart not the attributes kind?

I can add a popup sizechart in product descriptionby an js add-on, but if I have hundreds of products, i have to add that code every time I input product description. So I want to find a way for 'global settingb'. I add the same html code in tpl_product_info_display.php, between <!--eof Attributes Module --> and <!--bof Add to Cart Box -->, since I want the size chart displayed after the attribute and before ' add to cart'. But the problem is the 'add to cart' button doesn't work, although the size chart works properly. so how can I change the code if I want it embeded in the php file?

the code is ```html
<a href="javascript:popupDetails('http://www.mysite.com/images/sizechart.gif')"><img src="/images/icon.jpg" width="86" height="16"><img src="http://www.mysite.com/images/sizechart.gif" width="" height=""></a>