Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Celebrimbor

Pioneers
  • Posts

    116
  • Joined

  • Last visited

Posts posted by Celebrimbor

  1. 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

  2. After all changes.

     

    My website starts with this lag, as picture attached.

     

    I dont know how fix the lag between left column and main content.

     

    any sugestions?

     

    the site is panobendito.com.br

     

    i removed all boxes from right column.

    post-143675-0-49394800-1342398110_thumb.png

  3. Thank you very much for your support.

     

    Searching on oscommerce forum i see that oscommerce uses only 24 columns, and as you said, i can do the same on 24 columns.

     

    Follow atached a simple layout as i need my site.

     

    Rafael

    post-143675-0-81624600-1342358013_thumb.png

  4. 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...

  5. Hello fellows...

     

    I have a little problem on my breadcrumbs links..

     

    See the images below:

     

    header%20tags%20seo%201.gif

     

    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:

     

    header%20tags%20seo%202.gif

     

    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

  6. 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

  7. 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

  8. 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

  9. 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???

  10. 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. :( :( :(

  11. 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

  12. 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

  13. 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?

  14. 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

×
×
  • Create New...