Jump to content

shetani

Members
  • Content count

    94
  • Joined

  • Last visited

Everything posted by shetani

  1. shetani

    One Page Checkout Support

    Same for me - checkout.php calls the function tep_count_shipping_modules() from general.php This function only increment the counter, if the modules in modules/shipping/ enabled. Unfortunately the module himself query the database with values from order-array f.e. $order->delivery['country']['id'] which are not set at this point for Customers without account. So the query-result will be empty and the module counts as NOT ENABLED. $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_DPDSTANDARD_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); When billing informations are updatet by java and their is no different delivery adress, delivery-array AND order-array should take the data from billing-array. This is not the case yet. br Frank
  2. without your htaccess - NO
  3. Looks like issues with mod_rewrite and your htaccess file
  4. Because you didnt have any unique value or key which can be used to map the old structure to the new one mod_rewrite will fail. Only way to solve your issue is, that you add some additional code snippets into f.e. application top and read the categorie-id from the database by using the old categorie name comparing with categores_name . After then you can construct the new url by using ultimate seo and make an 301 redirect by using Header function within php to tell search engines that the page have moved. Hope this will help you ups Sorry - if you know your categorie ID and would like to route only that one you can do it by htacces something like that should work based on your RewriteBase settings RewriteRule ^(.*)power-pendants$ index.php?cPath=27&%{QUERY_STRING} [R=301] RewriteRule ^(.*)power-pendants$ store/index.php?cPath=27&%{QUERY_STRING} [R=301]
  5. Have you fixed the top level inclusion ?! If not - maybe i can give you an idea how to make it like that http://www.dogs-exquisit.de/futter-und-co/...-dog-p-978.html
  6. normally the right format for using tep_href_link is tep_href_link(FILENAME_DEFAULT, 'cPath=3', 'NONSSL') f.e.
  7. shetani

    Header Tags SEO

    Have changed some code in this contrib to avoid double title tags and double keywords. Will post solution later
  8. shetani

    Search Tag Cloud

    Size depends on how often a keyword was used in search. If teh maximum value is reached every tag will sho on the same size This is the reason for, that i have changed it to randomized values on my installation. Also i have modified it to support Ultimate SEO contrib
  9. As addition for SEO contrib it would make sense to enhance the functionality for products which have disabled in the database f.e. if you disable a product which is indexed in f.e. google the next time google visit this products_info.php google will receive an 302 redirection instead of 404 or 301. with a small modification in the database (add a new field in products table f.e. products_new_id) you can use this to tell search engines that the side was no longer available 404 or removed permanently 301 and redirect them to the new product id. Only a suggestion, if anybody knows how to solve this it would be nice to get feedback on this
  10. @ Susan for me personel it would make more sense to include the email part into function confirmation() { below $cart_PayPal_Standard_ID = $cartID . '-' . $insert_id; tep_session_register('cart_PayPal_Standard_ID'); instead of the position where it is located yet But i´m not sure, i´m not using PayPal IPN ;)
  11. @Dave i couldnt see the define variable for DIR_WS_CATALOG in your configure.php file only found define('DIR_WS_HTTP_CATALOG', '/bijoux/osc/'); please try following in languages/FRENCH(OR YOUR LANGUAGE)/checkout_process.php change define('VARSTYLE', '<link rel="stylesheet" type="text/css" href="stylesheetmail.css">'); //location of email css file. define('VARHTTP', '<base href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'); //Do not change to define('VARSTYLE', '<link rel="stylesheet" type="text/css" href="stylesheetmail.css">'); //location of email css file. define('VARHTTP', '<base href="' . HTTP_SERVER . DIR_HTTP_WS_CATALOG . '">'); //Do not change then check in modules/email/html_checkout_process.php that you have changed back $html_email_order .= "<base href=\"' . HTTP_SERVER . DIR_WS_CATALOG . '\"><link rel=\"stylesheet\" type=\"text/css\" href=\"stylesheetmail.css\">"; OK $html_email_order .= "$Varhttp "; $html_email_order .= "$Varstyle "; to $html_email_order .= "$Varhttp "; $html_email_order .= "$Varstyle "; That should work
  12. That shouldnt work this way - i´m missing the <base> tag also as the right syntax for stylesheet include 1. have you defined in languages/YOURLANGUAGE/checkout_process.php define('VARSTYLE', '<link rel="stylesheet" type="text/css" href="stylesheetmail.css">'); //location of email css file. define('VARHTTP', '<base href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'); //Do not change 2. in checkout_process.php something like $Varhttp = ''.VARHTTP.''; $Varstyle = ''.VARSTYLE.''; and in the modules/email/html_checkout_process.php something like 3. $html_email_order .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"> "; $html_email_order .= "$Varhttp "; $html_email_order .= "$Varstyle "; If not it will never work the right way 4. if you try to include the stylesheet.css directly than try it with something like $html_email_order .= "<base href=\"' . HTTP_SERVER . DIR_WS_CATALOG . '\"><link rel=\"stylesheet\" type=\"text/css\" href=\"stylesheetmail.css\">"; be aware that you have defined the base element br Frank ... i have installed it also 10 times without havong any issue ;)
  13. I´m not using ipn but if i´m right, you have to modify the paypal.ipn modules located in the /catalog/ext/modules/payment and /catalog/includes/modules/payment folders directly to work with HTML emails.
  14. The contribution works fine and also the stylesheets maybe that you have made something wrong - but this didnt mean that the contribution sucks ;)
  15. find some samples here http://forums.oscommerce.com/index.php?s=&...t&p=1109673
  16. normally you have to install only v2. in some packages ther is an additional instruction for how to enable the row mod
  17. Therefore you have to set up in admin -> configuration -> my store the field send extra orders emails to with the recipient you wish to gat the order mail copy. thats all
  18. May be a good idea to put some additional code into products_info.php. In Case of f.e. google have an old product id listed and the direct the customer to the old url product info php comes up with product not found and header sent was 200. Make mor sense to return an 410 instead of 200 for the header.
  19. shetani

    Header Tags SEO

    Another solution - which i prefer at the moment is, to move the sensitive cases (like ..._index.php) above the case for filename_default. Frank
  20. shetani

    Header Tags SEO

    First great work from the author - thank you There is an issue with the include/header_tags.php If you have two pages like index.php and newsdesk_index.php header tags will shown up for both sides - in this case for newsdesk_index.php - the same. Reason is, that strstr compares first php_self with the default title (index.php) and becomes true because it find it in newsdesk_index.php. i would prefer also some additional snippets in header_tags.php includes and functions for example if i am in a category then i would like to have the parent and childs from this category also listed in the title tag - but only there. br Frank
  21. Problems solved ?! Would be nice if the guys which having trouble also post the results ;) Could be helpfull for other users
  22. The upper bold and underlined lines have to be removed and you have to add an opening tr at the first and an closing tr at the last line of article-sets which are build in the foreach sentences $products_price = $Orderpos['Price']; $html_email_order .= " [u][b]<tr> [/b] [/u]<td width=\"80\" valign=\"top\" align=\"center\" class=\"boxmailgris\">$products_images</td>"; $html_email_order .= " <td width=\"260\" valign=\"top\" align=\"left\" class=\"boxmailgris\">$products_name</td>"; $html_email_order .= " <td width=\"140\" valign=\"top\" align=\"left\" class=\"boxmailgris\">$manufacturers_name</td>"; $html_email_order .= " <td width=\"40\" valign=\"top\" align=\"center\" class=\"boxmailgris\">$products_quantity</td>"; $html_email_order .= " <td width=\"80\" valign=\"top\" align=\"right\" class=\"boxmailgris\">$products_price</td> [u][b]</tr>[/b][/u] "; $m = $m+1; if ($m == 2)$m=0; if you would like to change the textcolor or the background color than you have to find the boxmailgris class in the stylesheetmail.css and change it their instead of modifying the php file themself
  23. Which Version of send_html you are using - i´m a little bit confused ?! If you are using the row_mod version and have worked out the instructions as described in the file sendhtmlmail_row_mod_additions.txt your checkout process.php and html_checkout_process.php should look different to the versions you have posted ?! f.e. $html_email_order .= " <td width=\"80\" valign=\"top\" align=\"center\" class=\"boxmailgris\">$products_images</td>"; $html_email_order .= " <td width=\"260\" valign=\"top\" align=\"left\" class=\"boxmailgris\">$products_name</td>"; $html_email_order .= " <td width=\"120\" valign=\"top\" align=\"left\" class=\"boxmailgris\">$products_model</td>"; $html_email_order .= " <td width=\"40\" valign=\"top\" align=\"center\" class=\"boxmailgris\">$products_quantity</td>"; $html_email_order .= " <td width=\"80\" valign=\"top\" align=\"right\" class=\"boxmailgris\">$products_price</td>"; should similar to something like (ONLY IF YOU ARE USING THE ROWMOD) $m=0; foreach ($orderarray as $Orderpos){ $modmodel = $Orderpos['Model']; $modpart = $Orderpos['Modelnr']; $modqty = $Orderpos['Qty']; $modtotal = $Orderpos['Price']; $modimage = $Orderpos['Image']; $html_email_order .= " <tr><td width=\"80\" valign=\"middle\" align=\"center\" class=\"boxmailgris".$m."\">$modimage</td>"; $html_email_order .= " <td width=\"260\" valign=\"top\" align=\"left\" class=\"boxmailgris".$m."\">$modmodel</td>"; $html_email_order .= " <td width=\"120\" valign=\"top\" align=\"left\" class=\"boxmailgris".$m."\">$modpart</td>"; $html_email_order .= " <td width=\"40\" valign=\"top\" align=\"center\" class=\"boxmailgris".$m."\">$modqty</td>"; $html_email_order .= " <td width=\"80\" valign=\"top\" align=\"right\" class=\"boxmailgris".$m."\">$modtotal</td></tr>"; $m = $m+1; if ($m == 2)$m=0; }; Also your checkout_process.php have to be modified for your personal needs. f.e. if (!tep_not_null($order->products[$i]['model'])) { $products_model .= ''.EMAIL_NO_MODEL.''; } else $products_model .= nl2br($order->products[$i]['model'] . "\n"); $products_price .= nl2br($currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty']) . "\n"); should be look similar to (ONLY IF YOU ARE USING ROWMOD) if (!tep_not_null($order->products[$i]['model'])) { $products_model .= ''.EMAIL_NO_MODEL.''; } else{ $products_model .= nl2br($order->products[$i]['model'] . "\n"); }; $orderarray[$i] = array("Image" => "<img src=".HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . $orders_picture['products_image']." width='90px' border='0'>", "Model" => nl2br("" . $order->products[$i]['name'] . $products_ordered_attributes . "\n" ), "Modelnr"=> nl2br($order->products[$i]['model'] . "\n"), "Qty" => nl2br($order->products[$i]['qty'] . "\n"), "Price" => nl2br($currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . "\n"); The problem is, that you have defined variables like $products_image in html_checkout_process.php but didn´t overhand them to the html_checkout file. So please be aware that you have installed the contribution the right way. It may be a little bit confusing that the supported php files in the contribution zip file are not have included the whole set of changes. The reason for that is, that every user have different needs for their html email and the row_mod_text file shows them ways to handle them the right way. Sorry for my bad english - i´m not a native speaker ;) Hope that will help you br Frank
  24. Please post your html_checkout_process.php file also
  25. Dont know whats wrong yet maybe an issue with your tep_redirect or tep_mail function or the ssl settings ?!
×