Skip to content
011 322 44 568500 Beverly Boulevard Los Angeles, CA 90048
Linkedin page opens in new window
Beckin | Professional eCommerce Web Development Company
Beckin specializes in custom eCommerce development using Shopify, Commerce Cloud, WordPress, and Magento. We create unique online shopping experiences that are tailored to your business needs. Contact us today to learn how we can help grow your eCommerce business!
Beckin | Professional eCommerce Web Development CompanyBeckin | Professional eCommerce Web Development Company
  • Home
  • About
  • Sevices
  • Testimonials
  • Contact
  • Support
  • Blog
Search:
Search
  • Home
  • About
  • Sevices
  • Testimonials
  • Contact
  • Support
  • Blog

Blog

You are here:
  1. Home

Remove Commas From A String – str_replace()

PHPBy Chris SilveyDecember 6, 20131 Comment

If you find that you have a string that contains commas and you need to remove them you can do the following. Let’s assume your string looks like this. Now let’s strip those ugly commas from our variable $myString using the str_replace() function. That’s it, enjoy!

Details

How To Compress and Extract Files Using SSH

Linux, SSH / CLIBy Chris SilveyDecember 6, 2013Leave a comment

Sometimes you may need to extract or create an archive file on your Linux server. The very first step in the process would be to identify the exact archive type by looking at the file extension. The most common archive types are zip (ending with .zip), tar (.tar), Tar+Gunzip (.tar.gz), Bzip (.bz2) and Rar (.rar).…

Details

Magento Get Store Code

Magento TutorialsBy Chris SilveyNovember 29, 2013Leave a comment

Grabbing the store code from Magento can be quite easy. The following code has always done the trick for me.

Check if Magento Store Codes Are Enabled

Magento TutorialsBy Chris SilveyNovember 29, 2013Leave a comment

As a developer, sometimes it is essential to check if store code URLs are enabled. Store codes are well known for breaking extensions due to the URL format. If you need to check if store code URLs are enabled you could simply use the following.

Count Non-Empty Array Values

PHPBy Chris SilveyNovember 20, 2013Leave a comment

Counting the elements in an array is quite simple. The $counter variable will now contain the value of 3. However, if your array contains empty values like the following array it would still return 3. This of course would be problematic in some situations of your script. In order to get the accurate count, we…

Details
←1
234
…56789→
Beckin | Professional eCommerce Web Development Company
© 2025 All rights reserved. Beckin.com
  • Certified Magento & Commerce Cloud Developer
Useful Links
Go to Top