 |
Page 1 of 1
|
Author |
Message |
sneakers
User - One Blade
Joined: 12 Jun 2004
Posts: 41
Location: New Zealand
|
 Shopping Categories:
[b]
Is they any way you can delete the Shopping Categories: on the left of the screen where the grey is and keep them in the Centre of the screen so you dont have two Shopping Categories list's.
Thanks Sneakers :?
|
Thu Oct 21, 04 12:27 am |
|
 |
milehightrader
Guest
|
Remove the code that starts with the following from the store_header.inc file. BE SURE to make a backup copy of the file before any editing, and use a plain text or standard html editor.
Code:<b><font face="Arial,Helvetica" color="#FF0000" size=2><CENTER>Shopping Categories:</CENTER></font><font face="Arial,Helvetica" color="#FF0000" size=1>
<!--agorascript-pre { # code to count up the CART contents
|
Thu Oct 21, 04 7:04 am |
|
 |
sneakers
User - One Blade
Joined: 12 Jun 2004
Posts: 41
Location: New Zealand
|
 cool i got them deleted on the first the page
how do u get rid of them on the check out page is it a siff file i look for :-)
|
Thu Oct 21, 04 1:38 pm |
|
 |
milehightrader
Guest
|
Your posts are about as clear as mud, but I'll make an attempt at interpretting what I think you are asking.
Apparently you want to remove the shopping categories from the left column on the checkout pages. If this is correct, edit the file secure_store_header.inc in the html/html-templates directory. If this isn't correct post again giving details of what you need.
|
Sat Oct 23, 04 6:43 am |
|
 |
sneakers
User - One Blade
Joined: 12 Jun 2004
Posts: 41
Location: New Zealand
|
 link to shop
http://www.porika.co.nz/toystore/agora.cgi
here is the store link you will see when it loads up what im trying to get rid of out of the normal product page and check out page
|
Thu Oct 28, 04 7:19 pm |
|
 |
Dan
Guest
|
hell-o
you kinda hacked up the td tag and the agorascript:
<TABLE WIDTH=765 BORDER=0 CELLSPACING=0 CELLPADDING=0 align=top>
<TR><TD WIDTH=145 valign=top background="agora.cgi?secpicserve=steelgrey.jpg" bgcolor
local(%db_ele,$sku,$category,%category_list);
if (!($sc_db_lib_was_loaded =~ /yes/i))
{ &require_supporting_libraries (__FILE__, __LINE__, "$sc_db_lib_path"); }
&capture_STDOUT;
&get_prod_db_element($db{"product"},*db_ele);
foreach $sku (keys %db_ele) {
$category = $db_ele{$sku};
$category_list{$category}++;
}
foreach $category (sort(keys %category_list)) {
$category2 = $category;
$category2=~s/_/ /g;
print " <a href=\"agora.cgi?cart_id=2911327.32419*m76_u0&product=",
"$category\"> $category2 </a><br>\n";
}
&uncapture_STDOUT; }
-->
change this:
<TR><TD WIDTH=145 valign=top background="agora.cgi?secpicserve=steelgrey.jpg" bgcolor
to this:
<TR><TD WIDTH=145 valign=top background="agora.cgi?secpicserve=steelgrey.jpg">
don't worry about the bgcolor.
then remove completely this:
local(%db_ele,$sku,$category,%category_list);
if (!($sc_db_lib_was_loaded =~ /yes/i))
{ &require_supporting_libraries (__FILE__, __LINE__, "$sc_db_lib_path"); }
&capture_STDOUT;
&get_prod_db_element($db{"product"},*db_ele);
foreach $sku (keys %db_ele) {
$category = $db_ele{$sku};
$category_list{$category}++;
}
foreach $category (sort(keys %category_list)) {
$category2 = $category;
$category2=~s/_/ /g;
print " <a href=\"agora.cgi?cart_id=2911327.32419*m76_u0&product=",
"$category\"> $category2 </a><br>\n";
}
&uncapture_STDOUT; }
-->
agorascript begins with
<--
and ends with
-->
so to remove the agorscript you will have to remove everything between and including the left and right arrows.
redesigning north america game, huh?
regards,
dan
|
Thu Oct 28, 04 10:43 pm |
|
 |
sneakers
User - One Blade
Joined: 12 Jun 2004
Posts: 41
Location: New Zealand
|
i tell you when you dot he slightest thing wrong on one of the header she all goes belly up
|
Fri Oct 29, 04 2:18 am |
|
 |
sneakers
User - One Blade
Joined: 12 Jun 2004
Posts: 41
Location: New Zealand
|
[b]The First bit you put in what do i do with this[/b]
hell-o
you kinda hacked up the td tag and the agorascript:
<TABLE WIDTH=765 BORDER=0 CELLSPACING=0 CELLPADDING=0 align=top>
<TR><TD WIDTH=145 valign=top background="agora.cgi?secpicserve=steelgrey.jpg" bgcolor
local(%db_ele,$sku,$category,%category_list);
if (!($sc_db_lib_was_loaded =~ /yes/i))
{ &require_supporting_libraries (__FILE__, __LINE__, "$sc_db_lib_path"); }
&capture_STDOUT;
&get_prod_db_element($db{"product"},*db_ele);
foreach $sku (keys %db_ele) {
$category = $db_ele{$sku};
$category_list{$category}++;
}
foreach $category (sort(keys %category_list)) {
$category2 = $category;
$category2=~s/_/ /g;
print " <a href=\"agora.cgi?cart_id=2911327.32419*m76_u0&product=",
"$category\"> $category2 </a><br>\n";
}
&uncapture_STDOUT; }
-->
|
Fri Oct 29, 04 2:22 am |
|
 |
milehightrader
Guest
|
change this:
Quote:<TR><TD WIDTH=145 valign=top background="agora.cgi?secpicserve=steelgrey.jpg" bgcolor
to this:
Quote:<TR><TD WIDTH=145 valign=top background="agora.cgi?secpicserve=steelgrey.jpg">
Remove the bgcolor
Remove all of the following code which is directly below the above
Quote:local(%db_ele,$sku,$category,%category_list);
if (!($sc_db_lib_was_loaded =~ /yes/i))
{ &require_supporting_libraries (__FILE__, __LINE__, "$sc_db_lib_path"); }
&capture_STDOUT;
&get_prod_db_element($db{"product"},*db_ele);
foreach $sku (keys %db_ele) {
$category = $db_ele{$sku};
$category_list{$category}++;
}
foreach $category (sort(keys %category_list)) {
$category2 = $category;
$category2=~s/_/ /g;
print " <a href=\"agora.cgi?cart_id=2298644.14395*KH0Ek1&product=",
"$category\"> $category2 </a><br>\n";
}
&uncapture_STDOUT; }
-->
|
Fri Oct 29, 04 6:19 am |
|
 |
|
The time now is Mon Apr 28, 25 1:49 pm | All times are GMT - 7 Hours
|
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
|
|
|