<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Asghar Paracha</title>
    <description>The latest articles on DEV Community by Asghar Paracha (@asghar_paracha).</description>
    <link>https://dev.to/asghar_paracha</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F576224%2F304a2095-d1ca-4d48-b2d6-70cef792f2d2.jpg</url>
      <title>DEV Community: Asghar Paracha</title>
      <link>https://dev.to/asghar_paracha</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/asghar_paracha"/>
    <language>en</language>
    <item>
      <title>How You Can Create Discount Coupons Codes in WooCommerce</title>
      <dc:creator>Asghar Paracha</dc:creator>
      <pubDate>Tue, 09 Feb 2021 05:13:19 +0000</pubDate>
      <link>https://dev.to/asghar_paracha/how-you-can-create-discount-coupons-codes-in-woocommerce-3d51</link>
      <guid>https://dev.to/asghar_paracha/how-you-can-create-discount-coupons-codes-in-woocommerce-3d51</guid>
      <description>&lt;p&gt;We all know the significance of working with discount coupons in a managed way to facilitate sales in our e-commerce. And while it is a sales strategy that has long been used in offline commerce, primarily in supermarkets, its use has become very popular in electronic commerce in recent years, especially because of the great advantage it has when it comes to segmenting the deal and applying it only to the customers you are interested in.&lt;/p&gt;

&lt;p&gt;Tutorial on how you can build and create a WooCommerce discount coupon, step by step.&lt;/p&gt;

&lt;p&gt;The choice of making discount coupons is included in the installation of WooCommerce and requires no additional plugin.&lt;/p&gt;

&lt;p&gt;If it is true that there are plugins that allow advanced coupon management and that allow you to uninstall the coupon automatically when the maximum balance is reached, gift coupons or add coupons via url, among other items. I'm just going to concentrate on explaining how to build and customize them according to your needs in this post, though.&lt;/p&gt;

&lt;p&gt;Since there are several different coupon configurations, it is difficult to describe in depth how to build a particular coupon for each situation, depending on the type of discount you choose to add -percentages or fixed amounts-, restrictions, product filters or whether or not taxes are included. Let's take an example of &lt;a href="https://www.supersavermama.com/footlocker/"&gt;Foot Locker promo code&lt;/a&gt; 20 off the whole order page here, they have implemented coupons via plugin, but today I'm going to show you a comprehensive tutorial without using any plugin to include coupons in WooCommerce.&lt;/p&gt;

&lt;p&gt;Instead, I chose a percentage-based discount coupon for a certain type of product and a minimum order expenditure as an example.&lt;/p&gt;

&lt;p&gt;I think it's a pretty complete instance and that it will serve you primarily to understand how in the future you can customize yours. The steps to take are, therefore:&lt;/p&gt;

&lt;p&gt;(1) Click on 'WooCommerce&amp;gt; Coupons' and then on 'Add Coupon' to access the coupons section.&lt;/p&gt;

&lt;p&gt;(2) We're adding a special coupon code and a definition. It is not a necessary rule, but it is advisable to use more or less descriptive codes, even if you use the description field to display the discount applied by that coupon in more detail.&lt;/p&gt;

&lt;p&gt;(3) The fields of the "Common" tab are configured. I'm just describing the fields we're going to define, the rest of which are left at their default value.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Discount rate&lt;/strong&gt; . The "percent discount on the product" option is chosen. With this choice, instead of the total of the cart, you just apply a discount to the product or items of a certain category.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Coupon amount&lt;/strong&gt; . In this case, we introduce the discount percentage, since it's 20 percent, you have to enter the figure 20. In your case, you can research the profit margin the product has and measure the discount on the basis of that.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Coupon expiration date&lt;/strong&gt; . Here, to restrict its usage in time, we enter the expiration date of the coupon. In order to create urgency in the consumer and to motivate them to use it before it expires and loses the discount, it is advisable to always identify a coupon deadline.&lt;/p&gt;

&lt;p&gt;(4) We configure the 'Restriction of Use' tab fields.&lt;br&gt;
Minimum budget . We specify the minimum cost that the customer must make to apply the discount, in this example I will define a minimum cost of $ 80. You must bear in mind that it applies to the order subtotal, i.e. taxes are not taken into consideration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Single use only&lt;/strong&gt; . In conjunction with other coupons, we check this option to disable the accumulation of discounts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exclude products for sale&lt;/strong&gt; . To avoid losing the profit margin on the sale, it is recommended that you check this option if you already have other product offers published in WooCommerce.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Categories of Items&lt;/strong&gt; . In this example, I will apply it to the category 'Running Shoes' by selecting the product category for which we want to allow the discount. You must use the 'Products' field if you just want to apply the discount to those products.&lt;/p&gt;

&lt;p&gt;(5) By entering the value 1 in the 'Usage limit per user' field in the 'Use limit per user' tab, we limit the use of the coupon to one time per client.&lt;/p&gt;

&lt;p&gt;(6) Eventually, we click on 'Publish' and trigger our WooCommerce discount coupon .&lt;/p&gt;

</description>
      <category>woocommerce</category>
      <category>discountcouponswoocommerce</category>
      <category>coupon</category>
      <category>discount</category>
    </item>
    <item>
      <title>How do you embed a video from YouTube on your website?</title>
      <dc:creator>Asghar Paracha</dc:creator>
      <pubDate>Tue, 09 Feb 2021 04:35:43 +0000</pubDate>
      <link>https://dev.to/asghar_paracha/how-do-you-embed-a-video-from-youtube-on-your-website-391j</link>
      <guid>https://dev.to/asghar_paracha/how-do-you-embed-a-video-from-youtube-on-your-website-391j</guid>
      <description>&lt;p&gt;Web video has become one of the most common ways for content sharing, tutorials, data, music, entertainment, and much more. For knowledge or entertainment, many people prefer to watch videos rather than read them.&lt;/p&gt;

&lt;p&gt;Certainly, the first thing that comes to mind when you think about the subject is &lt;a href="https://www.supersavermama.com/youtube-tv-promo-code/"&gt;YouTube&lt;/a&gt;, the Internet's most popular video sharing site.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to embed videos from YouTube on WordPress?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The mechanism is quite basic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 1&lt;/strong&gt;. On YouTube, enter the URL of the film.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 2&lt;/strong&gt;. Copy the URL (click Right &amp;gt; Copy or CTRL + C / CMD + C)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 3&lt;/strong&gt;. Go to an entry or page where you want to show the video. Only right-click&amp;gt; Paste in the WordPress Editor.&lt;/p&gt;

&lt;p&gt;When publishing or previewing it... Right there, the video will appear! (It's magic-like: P)&lt;/p&gt;

&lt;p&gt;If you need to alter the video's properties, you can insert the code 'Embed' and adjust the dimensions and other properties.&lt;/p&gt;

&lt;p&gt;Again, enter the video and click on the "Share" tab.&lt;/p&gt;

&lt;p&gt;Copy the code that appears there after you have copied and changed the necessary one.&lt;/p&gt;

&lt;p&gt;In the HTML (Text) section of the editor, paste the same code into the post so that the video will appear successfully.&lt;/p&gt;

&lt;p&gt;As you can see, it is a very easy and quick process to insert YouTube videos into WordPress.&lt;/p&gt;

&lt;p&gt;Have you got any other questions?&lt;/p&gt;

</description>
      <category>embedvideo</category>
      <category>youtubevideo</category>
      <category>youtube</category>
    </item>
  </channel>
</rss>
