BlueSnap is a global payment gateway which supports credit and debit card payments, ACH/ECP, SEPA Direct Debit, digital wallets, and Paypal. Its Payment API is RESTful and uses standard HTTP features. Bluesnap API supports automatic recurring subscription and we utilize this feature and implement as Custom Drupal 7 Module. We use cURL to get [...]
Display woocommerce categories and product listing Wordpress: 5.2 Woocommerce: 3.6 If you want to group products subcategory wise the default woo-commerce product listing should be overridden. The product listing uses the archive-products.php file in plugin/woocommerce/templates. Now you have to override archive-products.php file to your theme/woocommerce folder. If the woocommerce folder is not present create [...]
Routing in CodeIgniter with Nginx While setting up Codeigniter in Nginx if a 404 error occurs when you have to set Codeigniter for subfolders in Nginx. For that open /etc/nginx/sites-available/default and then add the following code to the configuration:
1. Permalink Use permalink for individual blog post. In wordpress dashboard, go to settings>permalinks> then you will see the several options for url structure. The least seo friendly url is plain url and post name is the most seo friendly url. Post name :(sample-post) Custom Structure: /%postname%/ Remove www from your permalink. Use permalink [...]
The Braintree Node.js library with Braintree's servers. Prerequisite: Install Braintree node package: For more information or help with this step, see our API Credentials support article. In Client Controller:
Drupal 7 :- Display taxonomy terms in page template. Display taxonomy terms in page template using multiple methods. Create a view block with required taxonomy terms and assign that block to any region in required pages. Create a normal block, load and display taxonomy terms using following code and assign that block to any [...]
Wordpress user profile : The following snippet will provide extra add fields to user profile in your profile section. In this code we provide two fields, Sales Partner and Address. You can add any number fields. These fields are saved in user profile. So need to create extra table to store this data. [...]
This code will perform an insert functionality to a table when a Contact form (WPDB7) is submitted. In functions.php place this code.