The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
View Cart and Checkout Links
Author Message
Reply with quote
Post View Cart and Checkout Links 
Hello, I am currently using the dynamically generated product pages for my store http://jalenscloud.com/cart/store/agora.cgi. When you click on one of the categories you are taken to the appropriate product page. On this product page each item is separated by its own bordered cell.

I am trying to get rid of the Checkout link, and change the View Cart text link to a specific button image that I have. I have done this by modifying the productPage.inc file.

Here is the code in the original version of the file:

<td width='33%' align=center>
<A HREF="%%scripturl%%?dc=1&%%href_fields%%"><FONT FACE=ARIAL>View Cart</FONT>
</A>
</td>
<td width = '33%' align=center>
<A HREF='%%StepOneURL%%?order_form_button.x=1&%%href_fields%%'><FONT
FACE=ARIAL>Check Out</FONT>
</A>
</TD>

My modified version looks like this:

<td width='33%' align=center>
<A HREF="%%scripturl%%?dc=1&%%href_fields%%"><IMG SRC="/Images/View_Cart.jpg">
</A>
</td>
(Note that the code that is normally here as been deleted)

While this modification does reach the desired affect one undesired affect occurs. The border around the cells separating each item disappears and instead of the items displaying as left cell right cell; new row; left cell right cell; new row centered cell. All the items are simply displayed in a list that scrolls down the page.

Any idea how to make this modification and still keep the product page in its original format?

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Reply with quote
Post  
You eliminated a needed <td> tag set...
Try this:
Code:
<td width='33%' align=center>
<A HREF="%%scripturl%%?dc=1&%%href_fields%%"><IMG SRC="/Images/View_Cart.jpg">
</A>
</td>
<td>&nbsp;</td>


HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Thanks for the attempt but:

<td width='33%' align=center>
<A HREF="%%scripturl%%?dc=1&%%href_fields%%"><IMG SRC="/Images/View_Cart.jpg">
</A>
</td>
<td>&nbsp;</td>

Had the same affect, the image button was added but the border around and separating the product items still disappeared.

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Reply with quote
Post  
You've got some major html issues going on in your header file....
Lots of info that is out of place...
Namely:
Code:

<SCRIPT LANGUAGE="JavaScript">
<!-- BEGIN
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=420,left = 200,top = 50');");
}
// END -->
</script>

AND:
Code:

<BODY onLoad="preload('/Images/home.jpg','/Images/homeb.jpg','/Images/jalen.jpg','/Images/jalenb.jpg','/Images/contact.jpg','/Images/contactb.jpg','/Images/cart.jpg','/Images/cartb.jpg','/access/acc_menu.htm','/bath/bath_menu.htm','/bed/bed_menu.htm','/dine/dine_menu.htm','/figure/fig_menu.htm','/kids/kid_menu.htm','/kitchen/kit_menu.htm','/living/liv_menu.htm','/outdoor/out_menu.htm')">

AND:
Code:

<STYLE type="text/css">
<!--
A { text-decoration:none }
A:hover { background-color:99FF99 }
-->
</STYLE>

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" content="-1">

</HEAD>

<BODY VLINK="BLACK" ALINK="BLACK" LINK="BLACK">

For proper placement of this info in your pages, please CAREFULLY review the following threads:
http://www.agoraguide.com/faq/viewtopic.php?t=1156
http://www.agoraguide.com/faq/viewtopic.php?t=358

Finally...
It looks as though the productPage.inc file was not uploaded in ASCII mode, since I can see all of the agorascript-pre code in the source page from the browser.
It MUST be uploaded in ASCII mode.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Ok I moved the javascript and CSS coding the appropriate locations I have re-uploaded both the store_hearder.inc file and the productPage.inc files in ASCII mode. (I was using net2ftp which doesn't allow to choose modes and sets the mode automatically based on the file ext. I ended up having to download coffee cup ftp).


Still no luck restoring the borders.

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Reply with quote
Post  
Thanks for all your help turns out it was an ID10T error Very Happy (Idiot for those who don't know). I re-uploaded the original productPage.inc file and then made the recommended modification being sure to upload in ASCII and now my view cart button works just find with the borders in place.

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum