Zen Cart Logo
Forums / General Questions / Help with linking products (fomatting question)

Help with linking products (fomatting question)

Locked

Views: 967

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
28 Mar 2009, 8:22 PM
#1
deannasdreams avatar

deannasdreams

New Zenner

Join Date:
Jan 2008
Posts:
16
Plugin Contributions:
0

Help with linking products (fomatting question)

Hello,

I am trying to add a product and in the description add a link to a related product. I thought I could do this with html formatting in the description, but this is making the description run out of the column and into the side boxes.

I used <br> to get the text to stay in the designated area (I know this is a funky way of making the page work), but the 'add to cart' button is still pushed over. I'm hoping someone can help me correctly format this.

Here is the html text I used:

This alpha pack is made to coordinate with my Fierce Felines<br>
Graphics pack and Captivated Visions Wild Thing add-on pack. <br>
A special thanks to Captivated Visions for use of her WildThing<br>
Paper02 which was used to make this set.
<br><br>
You will receive all 26 Upper and Lower Case alphas as well as<br>
the numbers and a zoo of special characters. There are 93 files <br>
in all. These are extra-large so that they can be used in full-size<br>
scrapbooking and other projects requiring large files. Since they are 300 dpi, these <br><br>can also be easily reduced as well for smaller purposes without loss of quality. For <br>an example of size, the lowercase a is 595 x 635 and the lowercase b is 594 x 899.
<br><br>
This Alpha Pack can be used for commercial and/or personal purposes.
<br><br>
To view my Fierce Felines Graphics Kit, please click on the following image:<br>
<a href="http://deannasdreams.com/store/index.php?main_page=product_info&cPath=1_7&products_id=38">
<img src="http://www.deannasdreams.com/store/images/bigcats.jpg"></a><br>
<br><br>
To view the coordinating Wild Thing Add-On Pack, please click on the following image:<br>
<a href=" "><img src=" ></a>

And the page can be viewed here:

http://deannasdreams.com/store/index.php?main_page=product_info&cPath=25_37&products_id=93

I am using 1.3.7.

Thanks,
Deanna

28 Mar 2009, 8:28 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Help with linking products (fomatting question)

YES, you CAN add the HTML, but what you are doing is trying to add the HTML while in WYSIWYG mode in your product description editor.

If you are using HTMLArea, you'll see a little menu icon that looks like this:

<>

That is the "TOGGLE" between WYSIWYG and raw code.

Toggle to raw code by clicking that icon, then "paste" your html code. Save, then see if that works the way you want it to.

NB... I see you are inserting absolute URLS (the full http:// path...). This will give you security warnings when pages are SSL. As you are using internal elements, your URL's need not be absolute, but (for example):

<a href="index.php?main_page=product_info&cPath=1_7&products_id=38">
28 Mar 2009, 8:46 PM
#3
deannasdreams avatar

deannasdreams

New Zenner

Join Date:
Jan 2008
Posts:
16
Plugin Contributions:
0

Re: Help with linking products (fomatting question)

No I don't think I'm in WYSISYG.

Attached is a screenshot of the page.

Also, when I remove the absolute URL's, I lose the pic.

Sorry, I am not very experienced with html so I appreciate all the help I can get.

deanna

28 Mar 2009, 8:54 PM
#4
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Help with linking products (fomatting question)

The screenshot shows that you don't have the html editor activated, therefore everything you are entering there is treated as being in WYSIWYG mode rather than source...I believe that's how it goes anyway LOL

You can activate the HTML editor in Admin - Configuration - My Store - HTML Editor (bottom of listing) and then follow what schoolboy posted with the toggle instructions :)

28 Mar 2009, 8:57 PM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Help with linking products (fomatting question)

deannasdreams : you way of doing it is not wrong, but you have a bunch of html errors on the site that may cause the problem.

28 Mar 2009, 8:57 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Help with linking products (fomatting question)

Ah.. Ok I see your issue now.

The position of your "Add to Cart" button on the Product Info page is influenced chiefly by TWO things:

  1. The css that governs its float. In your case:
/*Shopping Cart Display*/

#cartAdd {

	float: right;

	text-align: center;

	margin: 1em;

	border: 1px solid #000000;

	padding: 1em;

	}
  1. The POSITION of the element, as described in the file:

includes/templates/your_template/templates/tpl_product_info_display.php.

You will see elements nicely encased in commented sections, such as:

<!--bof Add to Cart Box -->

(then a whole bunch of code here

<!--eof Add to Cart Box -->

You can CUT and PASTE such sections of code above and below each other to determine the sequence they appear in the page.

You will need to "play around" with the PHP and the CSS to get the final look right.

29 Mar 2009, 6:21 AM
#7
deannasdreams avatar

deannasdreams

New Zenner

Join Date:
Jan 2008
Posts:
16
Plugin Contributions:
0

Re: Help with linking products (fomatting question)

Thanks for the help!

It was frustrating getting this fixed as when I set it to html, nothing changed. I left it for awhile and when I came back, the html options were there and I got it all working (after a few tries).

Those of you willing to help are to be commended!

Deanna