Jump to content

Covall99

Members
  • Content count

    4
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Pawelek
  1. Hi! I need to have a button Buy Now in my product info page which will redirect customer to checkout_shipping.php page instead of shopping_cart.php I've added quantity dropdown on product info so thats no problem. Ive added button which is redirecting to checkout_shipping but its not working if cart is empty so my question is how to add product to cart and checkout without seeing shopping_cart.php page? i also need an option to add to shopping cart so redirecting from shopping_cart.php to checkout_shipping.php is not an option. Greets!
  2. Covall99

    Header Tags SEO

    in german test is ok. in english i got that- Database/File Mismatch Error: explain The number of file entries in the database (26) does not match the number in the includes/header_tags.php file (32). Files not in the database: index.php product_info.php product_reviews.php product_reviews_info.php product_reviews_write.php specials.php but when i click add missing pages in page control there is none
  3. Covall99

    Header Tags SEO

    Hi, i've a problem with Header Tags SEO. i got 2 languages in my osc. tags added in admin are showing only in german language in live shop. in english i got no tags at all. no title, meta, etc. checked the install steps twice and everything is fine. any ideas guys?
  4. Hello, ive installed rss in my shop, works fine, dealt with the characters. Now i have problems with contribution xml/rss auto mailer. In that u type rss url and the script sends emails with new products to users. Everything ok but ive problems with characters. Charset im using is iso-8859-2, its in the mail header. Osc original mailer works fine so i think problem is in the xml/rss auto mailer script, file - newsletter_auto.php thats the fragment sending mail which causes problems- // IMPORTANT*********************************************************************** ********** // Uncomment this section after testing $sql = 'SELECT `customers_firstname` , `customers_lastname` , `customers_email_address` ' . ' FROM `customers` ' . ' WHERE `customers_newsletter` = 1'; $result = mysql_query($sql)or die (mysql_error()); while ($row = mysql_fetch_array($result)) { $name = $row['customers_firstname'] .' '. $row['customers_lastname']; $email = $row['customers_email_address']; // IMPORTANT*********************************************************************** ********** // To test change $email to 'store@email.com' newsletter_mail($name, 'test@test.com, $subject, $GLOBALS['email_body'], $from, $from_email); // ******************************************************************************** ********** // IMPORTANT*********************************************************************** ********** // Uncomment this section after testing } // Function to send out the newsletters function newsletter_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address) { if (SEND_EMAILS != 'true') return false; // Instantiate a new mail object $message = new email(array('X-Mailer: SeekShopping Mailer')); // Build the text version $text = ($email_text); if (EMAIL_USE_HTML == 'true') { $message->add_html($email_text, $text); } else { $message->add_html($email_text, $text); } // Send message $message->build_message(); $message->send($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject, 'test@test.com '); } mysql_close($linkid); is there any way to hard code $message to iso-8859-2. i heard of iconv function. Any suggestions? Thanks ps. in oscommerce original mailer is funtion htmlspecialchars etc- because of that osc mails are ok?
×