-
Posts
116 -
Joined
-
Last visited
Posts posted by Celebrimbor
-
-
-
Yes... i think that is the road.
And after arrange left column, play with grids on main.
Ty Multimixer
-
-
But in what file are the <div's> to make the changes?
Ty multimixer
-
Hello folks.
I trying to use 960 grid system on my shop, but i need a 12 column.
Its possible on oscommerce use 12 column besides 24 as?
Ty
Rafael
-
There is someone working to update sts?.. to be compatible with osc 2.3.1?
tx
Rafael
-
I will start again the installation.
The problem can be because the ultimate SEO URLS ... that i installed too.
Thank you for now.
Rafael
-
It means you made a mistake in the installation. I can't tell what pages the text is on since I won't allow the popups but whichever one it is, check that file for mistakes. You can use the included ones to compare.
Jack
What file are you talking Jack? the popup?? i only edited the files of the header tags instalattion...
Its strange... i checked the header.. aplicattion top, etc and dont found nothing...
-
-
Hello fellows...
I have a little problem on my breadcrumbs links..
See the images below:
The words "3.5 inch Screen MP4 MP3 Player" are from my Header Tags Category Title, as you can see on the other image below:
So. I need to know how can i change the Header Tags Category Title from my breadcrumb and put the Category Name >> "3.5" MP4 Player" as showed on second Image.
Rafael
-
I'm glad it worked out for you.
I don't solicite donations in this forum but if you really want to send me a donation, just send me a personal message (PM) and I'll give you the link to my donations page at my web site (soundsgoodproDOTcom).
done a little contribution for your time on support all us..
thank you
-
Rafael,
It would probably be best if you simply add a new form for each product:
<form name="cart_quantity" action="http://www.factoryretails.com/product_info.php?products_id=39&action=add_product" method="post">
<input type="hidden" name="products_id" value="39"><input type="image" src="http://www.factoryretails.com/includes/languages/english/images/buttons/button_in_cart.gif" border="0" alt="In Cart" title=" In Cart "></form>
Great Bill.... thank you for your time..
Where i do a donate to you??????
Rafael
-
STS already has a built in $addtocartbutton but is only available in the product_info template. The following will modify this tag so that it can be used in any template that you desire:
Open the your store catalog folder/includes/modules/sts_inc/sts_user_code.php file and add the following just before the last ?>
$products_id=intval($_GET['products_id']); // Create variables for product ID, added in v4.0.6 //$template_pinfo['productid'] = $products_id; // Deprecated in STS4.3SP1 $sts->template['productsid'] = $products_id; // Just for consistende with osC names // Start the "Add to Cart" form $sts->template['startform'] = tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); // Add the hidden form variable for the Product_ID $sts->template['startform'] .= tep_draw_hidden_field('products_id', $products_id); $sts->template['endform'] = "</form>"; $sts->template['addtocartbutton'] = tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART);
Now add the $startform $addtocartbutton $endform (all three, in that order) anywhere in your table how ever many times that you need the Add To Cart Button for each product.
Basically, I took the variable define from the includes/modules/sts_inc/product_info.php file and defined them to be used for any of the templates, not just the product_info content template.
Hope this helped,
Hi Bill
I used your code... but how i call the specific product for each Buy Now button that i add on my index.php.html page?? I dont know the fuction to call the specific product.. :blink:
I tried this: <a href=http://www.factoryretails.com/index.php?action=buy_now&products_id=39><img src="images/add_cart.gif" alt="Add To Cart" border="0"></a><br><br>
but without success... because doesnt added nothing on my cart...
Rafael
-
Im still having problems with this Addon...
on the product_listing.php of addon, my buttons Buy now of my product listing pages and search result pages doesnt worked.
So when i replaced the product_listing.php with the original product_listing.php file, the buy now button back to work.
so, the problem is on the product_listing.php file from the addon..
There is someone thats knows how to solve this???
-
-
I suspect a conflict with the seo contrib you've used. Which one is it?
Most likely mods done to application_top by that have caused problem, post the contents of that.
hi spooks...
i using Header Tags Seo.. It can be because Header Tags SEO?
Rafael
-
Hello all...
After i installed The contribution... my buttons "buy now" on product listing pages and on search results pages isnt funtion more...
Anyone knows how can i fix this????
link to test: http://www.factoryretails.com/35-mp4-player-c-21_23_24.html
Rafael
-
STS already has a built in $addtocartbutton but is only available in the product_info template. The following will modify this tag so that it can be used in any template that you desire:
Open the your store catalog folder/includes/modules/sts_inc/sts_user_code.php file and add the following just before the last ?>
$products_id=intval($_GET['products_id']); // Create variables for product ID, added in v4.0.6 //$template_pinfo['productid'] = $products_id; // Deprecated in STS4.3SP1 $sts->template['productsid'] = $products_id; // Just for consistende with osC names // Start the "Add to Cart" form $sts->template['startform'] = tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); // Add the hidden form variable for the Product_ID $sts->template['startform'] .= tep_draw_hidden_field('products_id', $products_id); $sts->template['endform'] = "</form>"; $sts->template['addtocartbutton'] = tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART);
Now add the $startform $addtocartbutton $endform (all three, in that order) anywhere in your table how ever many times that you need the Add To Cart Button for each product.
Basically, I took the variable define from the includes/modules/sts_inc/product_info.php file and defined them to be used for any of the templates, not just the product_info content template.
Hope this helped,
great kellum.. fast reply
The button appeared on index page... nice...
but im still dont know how i link this specific add to cart button with a specific product, like e.g.: id's.. 39, 38, 37...
i used this: <a href=http://www.factoryretails.com/touch-diamond-phone-90018001900-free-unlo-p-39.html>$addtocartbutton</a><br><br>
but the button only bring to page...
i used this too: <a href=http://www.factoryretails.com/index.php?action=buy_now&products_id=39>$addtocartbutton</a><br><br>
but this doesnt add the product to cart. :( :( :(
-
Hi Fellows...
great contribution... and great thread support...
But now i having dificult to put a Add to Cart button on my index page. I know that isnt have a placeholder for a buy now on index templates, but someone knows any tip to sugest me that possibilite put a button buy now or add to cart on my index page?
I tried this: <a href=http://www.factoryretails.com/index.php?action=buy_now&products_id=39><img src="images/add_cart.gif" alt="Add To Cart" border="0"></a><br><br>
but without success... because doesnt add nothing on my cart...
Rafael
-
I have this error when i try insert a faq question via Admin:
Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/admin/faq.php:27) in /home/xxxxx/public_html/admin/includes/functions/general.php on line 22
Any help....
Tx
-
firefox has some very handy tools for css etc.
if you edit the css for .infoBoxList that should sort it for you.
thank you... fixed...
the infoboxlist it was the unique that i wasnt tested before....
Rafael
-
Hi people...
Great Contribution....thanx for alll
I have a noob question....
How i remove this border? See on image atached.
I tried via styleshhet but without sucess...
-
Many thanks Kellum. worked...
There are any function to call the respective price of the product that im calling.. like the product_id 53? Just to show the respective price and price offer(specials) just below of the product called...
I get the Carrousel ajax script here: http://www.ajaxdaddy.com/ .. a great site with 2.0 web funtions.... because this dont have suport here on forum..
Rafael
Anybody knows?
-
This is a question specific to the Ajax Carrousel contribution so you should ask this in that thread. Regarding links to specific products, you would use the following:
STS Link to a product:
<a href="<?php echo tep_href_link('product_info.php', 'products_id=53&', 'NONSSL'); ?>">Product Name Here</a>
Many thanks Kellum. worked...
There are any function to call the respective price of the product that im calling.. like the product_id 53? Just to show the respective price and price offer(specials) just below of the product called...
I get the Carrousel ajax script here: http://www.ajaxdaddy.com/ .. a great site with 2.0 web funtions.... because this dont have suport here on forum..
Rafael
960 Grid System
in Templates and Images
Posted
Problem solved.
I fixed the file osc_template.php.
I put now the correct values for columns and container
class oscTemplate {
var $_title;
var $_blocks = array();
var $_grid_container_width = 24;
var $_grid_content_width = 16;
var $_grid_column_width = 4; >>> correct value. 4 grids for each column. Was 8. lol
Hope that this help others.
Cya
rafael