Skip to content
  • Contact
  • Privacy Policy

Ryan Oun

My World | Endless

  • Coding Notes
  • Photography
  • Music
  • Offtopic
  • Contact

Category: Coding Notes

Coding Notes WordPress

Force Item To Add To Cart On Page Load In WordPress WooCommerce Cart

This probably isn’t useful for anyone but I’m currently using WooCommerce with WordPress and I needed a solution where a product item would automatically be added to cart on page load. The code below is what I came up with, this code will also force the user to have only 1 quantity of the item. …

Continue Reading
Coding Notes WordPress

Unable To Login To WordPress? Try This Method

WIth access to WordPress files you can force login using wp_set_current_user and wp_set_auth_cookie without knowing the password.

Continue Reading
Coding Notes

Example Code For Sending Transactional Emails With Mailjet

Quick example on how to send a transactional email with Mailjet API v3.1 using PHP.

Continue Reading
Coding Notes

Authorize.Net PHP Webhook Signature Key Check

Checking the signature key of a webhook from Authorize.Net to help reduce abuse from unwanted requests.

Continue Reading
Coding Notes Magento

Send Welcome Email On Customer Group Change In Magento 1.9

I needed a solution that sends a “welcome” email to the user whenever the admin changes the “Customer Group” to one they specified.

Continue Reading
Coding Notes WordPress

Images Broken In WordPress After Migrating Away From WP Engine

If you tried to move away from WP Engine and noticed some of your images are broken its because WP Engine uses a custom URL to display these files in WordPress.

Continue Reading
Coding Notes Laravel

Set And Store Locale In Laravel 5.6 Using Middleware

I used this simple way to set and store the locale setting in Laravel 5.6 using middlewares. The code is pretty basic, if there’s a locale in the request then set the setting in session based on the parameter.

Continue Reading

Posts navigation

Newer posts

RYAN OUN

Nice to meet you, my name is Ryan and I’m a software developer. Welcome to my website where you can learn about me and my interests.

USEFUL LINKS

Search Box

Recent Posts

  • Current Password Is Not Secure On Shopify
  • Cmd File For Different PHP Versions on Windows
  • ERR_EMPTY_RESPONSE in WordPress and Visual Composer
  • Installing FusionPBX with MariaDB Server 10.5 on Cent OS 7
  • How to Install FusionPBX on CentOS 7

Categories

  • Coding Notes
  • iOS/Objective-C
  • Laravel
  • Linux
  • Magento
  • Notes
  • Offtopic
  • Photography
  • Shopify
  • WordPress

Tags

403 Forbidden Apache API Authorize.Net Better Search Replace Big Purple Dot Broken Images CentOS CentOS 7 Cent OS 7 Command Prompt Contact 7 Form Customer Group err_empty_response FusionFBX FusionPBX Home Appliance iOS Laravel 56 liquid local testing Locked Out Mailjet MariaDB 10.5 McMenamins Edgefield Middleware Mod Security Oregon Pagination PHP Php 7.4 Send Email Shopify Shopify API tacoma toyota Transactional Email Update Tags visual composer VoIP Webhook Whirlpool Woocommerce WordPress WP Engine
© 2022 Ryan Oun