Press enter to see results or esc to cancel.

Abraham Garcia Abraham Garcia in WordPress   Friday, January 22 2021

Better WooCommerce Checkout CSS Styles

Improve the Look of Your WooCommerce so you can Increase Your Conversion and Sales. Easy to change WooCommerce css styles.

I found these CSS Styles to modify the WooCommerce Checkout. What this does it makes the credit card field move it to the right and it looked cleaner. All you have to do is paste it on your CSS and it will adjust it. I have attached some demo

Continue reading
Abraham Garcia Abraham Garcia in WordPress   Thursday, January 14 2021

Facebook Pixel Tracking on RestroPress WordPress

Track Sales From RestroPress on WordPress so you can get a good perspective on your Facebook ad sales.

These are the code snippets you need to add to your website to start tracking sales on Facebook.  First, you need a place to add in your header and footer I like this plugin to do

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Wednesday, January 13 2021

How to make select2 work with jQuery Validation

jQuery Validation and Select2 JS Plugin for Hidden Fields. Allow them to be validated for your project.

I was having trouble getting Select2 JS plugin validated with jquery validation and I found this fix for the issue.  Just make sure you add an ignore for hidden fields because Select2 JS adds the input as a hidden field. 

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Tuesday, January 12 2021

How to Delete Image File on Laravel Storage?

Delete your Image stored in storage in Laravel

To delete image from storage on laravel in your controller make sure to include use Illuminate\Support\Facades\Storage; within your function use this code to delete the image Storage::delete($post->image);  

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Monday, January 4 2021

How to Create a Trashed Entry on Laravel

I was looking at the documentation for laravel as I am learning this framework. One cool thing I saw is how to modify the database for trashed elements. Here are the steps to get started

I was looking at the documentation for laravel as I am learning this framework. One cool thing I saw is how to modify the database for trashed elements. Here are the steps to get started First, we must run a command to create the migration table for

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Tuesday, December 29 2020

How to Create Shortcodes on WordPress Functions File

Create Easy Shortcodes for your WordPress Website. Modify your functions.php with the following snippet and get rolling.

This is a snippet you can use when creating your shortcodes for WordPress. It makes it easy for you to reuse any of your functions // Function to add subscribe text to posts and pages function subscribe_link_shortcode() { return 'If you

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Thursday, December 24 2020

How to Pass a Variable To Route in JavaScript in Laravel

The Correct Syntax for Passing a Variable to Laravel Route in JavaScript.

This is a short snippet to pass a variable on route in javascript.  var url = '{{ route("admin.stocks.edit", ":id") }}'; url = url.replace(':id', stock.id); $('.stocks_list').append('<li><a href="'+url+'">' + stock.symbol + '

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Tuesday, December 22 2020

Laravel htaccess on MAMP Remove the Public Folder Route

Remove the Public route on the Laravel Project when working in MAMP without the virtual host setup.

Laravel htaccess Code to remove the /public route from your projects on MAMP and any other environments that you cannot setup or do not want to setup virtual environments.  <IfModule mod_rewrite.c> <IfModule mod_negotiation.c>

Continue reading
Abraham Garcia Abraham Garcia in Fun Stuff   Wednesday, December 9 2020

How to enable htaccess for Apache on Ubuntu

Setup mod_rewrite for Apache on Ubuntu. A short step by step guide to get started.

This is a step by step by guide to get your modrewrite working for apache on ubuntu.  1) Enable mod_rewrite sudo a2enmod rewrite Restart Apache sudo systemctl restart apache2 2) Setup .htaccess sudo nano

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Monday, December 7 2020

How to Setup Google Ads Conversions on Shopify

Simple Steps to Track Sales for your Google Ad Campaigns on Shopify.

After you create your google conversion action on Google Ads. Follow these steps to track sales on Shopify.  Install Global Site Tag 1) Navigate to Online Store on the Left Hand Side 2) Click on Actions -> Edit Code 3) Open your

Continue reading