Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Leaderboard

Popular Content

Showing content with the highest reputation on 02/19/2018 in all areas

  1. Jack_mcs

    Merge Accounts

    This addon provides a way to merge two customer accounts. It will move all orders from one account to the another and add the account details of the From account into the address book of the To account. Once the changes have been made, the From account is deleted. It is compatible with all versions of oscommerce.
    1 point
  2. I have just uploaded a version of this addon to https://apps.oscommerce.com/Apps&wwEZ9&order-editor-for2-3-v1-0 It is reworked to use a header tags module instead of making changes to the checkout files to record the shipping method. This will also record it when the order was created by a payment method and not in checkout_process. It also uses the hooks mechanism to change admin orders. It is only necessary to change core code to make the order editor accessible from the list view of admin orders (by extending the hooks) or if the store records credit card information another change is required. I recommend that people who have installed previous versions take edit_orders_ajax.php from this version.
    1 point
  3. Are seo friendly urls needed? The answer is simple and definitely YES! Its not a question of personal choice, All websites should be designed with the customer at its core, and search engines are your customer also. In fact for a new site it could be said they are one of your most important customers. Personal opinions don't matter here, just ask the customer what he needs and do it. The old saying “the customer is king” is still true. I would recommend anyone not sure should read the following guide lines. They will give you a good idea of what is required. https://support.google.com/webmasters/answer/7451184?hl=en Now more specifically seo friendly URL’s Google definitely recommend that you use them. They give clear guidelines on what one should aim for. If after reading the guide lines you still feel you don't need them then fine after all its your website and you chose what it offers. As a shop owner my recommendation would be definitely yes use them. With this add-on that's your decision. This is what Google recommends Simple URLs convey content information Creating descriptive categories and filenames for the documents on your website not only helps you keep your site better organized, it can create easier, "friendlier" URLs for those that want to link to your content. Visitors may be intimidated by extremely long and cryptic URLs that contain few recognizable words. URLs like the one shown in the image above can be confusing and unfriendly. Users would have a hard time creating a link to it. Some users might link to your page using the URL of that page as the anchor text. If your URL contains relevant words, this provides users with more information about the page than an ID or oddly named parameter would. URLs are displayed in search results Lastly, remember that the URL to a document is usually displayed in a search result in Google below the document title. Google is good at crawling all types of URL structures, even if they're quite complex, but spending the time to make your URLs as simple as possible is a good practice. Best Practices Use words in URLs URLs with words that are relevant to your site's content and structure are friendlier for visitors navigating your site. Avoid: Using lengthy URLs with unnecessary parameters and session IDs. Choosing generic page names like "page1.html". Using excessive keywords like "baseball-cards-baseball-cards-baseballcards.htm". Create a simple directory structure Use a directory structure that organizes your content well and makes it easy for visitors to know where they're at on your site. Try using your directory structure to indicate the type of content found at that URL. Avoid: Having deep nesting of subdirectories like ".../dir1/dir2/dir3/dir4/dir5/dir6/page.html". Using directory names that have no relation to the content in them. Provide one version of a URL to reach a document To prevent users from linking to one version of a URL and others linking to a different version (this could split the reputation of that content between the URLs), focus on using and referring to one URL in the structure and internal linking of your pages. If you do find that people are accessing the same content through multiple URLs, setting up a 301 redirect33 from non-preferred URLs to the dominant URL is a good solution for this. You may also use canonical URL or use the rel="canonical"34 link element if you cannot redirect. Avoid: Having pages from subdomains and the root directory access the same content, for example, "domain.com/page.html" and "sub.domain.com/page.html".
    1 point
  4. ALL. Let's not have personal insults. If you have a different viewpoint to someone else, that is fine. Explain why. More Personal Insults will result in sanctions being taken, which can be as simple as a note (like this post), to outright ban from this forum.
    1 point
  5. Thank you Gergely. The subtle code changes in email.php allowed PHPMailer class to function just perfectly. I can now proceed to update to PHP 5.6 So for anyone wanting a simple implementation guide here it is.... The Definitive PHPMailer Install Instructions My Store Store Owner My Company E-Mail Address [email protected] E-Mail From [email protected] Send Extra Order Emails To: [email protected] E-Mail Options E-Mail Transport Method smtp E-Mail Linefeeds LF Use MIME HTML When Sending Emails true Verify E-Mail Addresses Through DNS true Send E-Mails true Download PHPMailer from https://github.com/PHPMailer/PHPMailer (current version 5.2.23) & upload to catalog/ext folder Backup email.php files Amend: admin/includes/classes/email.php & /includes/classes/email.php (these two files are identical) Replace (around lines 519), or replace your Pear code: if (EMAIL_TRANSPORT == 'smtp') { return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers)); } else { return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers)); } } With if (EMAIL_TRANSPORT == 'smtp') { // return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers)); // } else { // return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers)); // } // } require_once(DIR_FS_CATALOG . 'ext/PHPMailer/PHPMailerAutoload.php'); $pMail = new PHPMailer(); $pMail->IsSMTP(); $pMail->IsHTML(true); $pMail->Host = "mail.mydomain.com"; $pMail->SMTPAuth = true; $pMail->Username = "[email protected] "; $pMail->Password = "mypassword"; $pMail->CharSet = "utf-8"; $pMail->From = $from_addr; $pMail->FromName = $from_name; $pMail->addAddress($to_addr, $to_name); $pMail->Subject = $subject; $pMail->Body = $this->html; $pMail->AltBody = $this->text; if (!$pMail->Send()) { return false; } else { $pMail->clearAddresses(); $pMail->clearAttachments(); return true; } } } Replace host, username and password values with your Authenticated SMTP parameters. Now all auto-generated emails from oscommerce will be sent with HTML, with a from address of My Company <[email protected]> Emails sent via Tools -> Send Email, and newsletter emails will be send with HTML, with a from address of [email protected]. Once again, thank you Gergely.
    1 point
×
×
  • Create New...