Website Development Milestone Milestones – Tusher

  1. I started this project this project July 2024
  2. I renewed this domain via domain provider by 20/09/24. As per your request I designed a logo bio by August 2024 which is not accept by you
  3. I started Hosting Migration by September 2024 in namecheap Server, USA. So you paid me 2734 Taka for 12 months subscription. 2734/12 = 228 Taka per month. If you keep your hosting under my management, you need to renew by October 2024. I dont give you hosting passwords. If you need admin password you can transfer anywhere, I will help you to migrate. If you leave before one year I will back charge for the rest of the months.
  4. For above section 1-3 I do this types of job by 5,000 Taka. Due to personal relational I did not demand any charged for this version.
  5. I completed corporate and ecommerce website version 1 by September 2024 and informed to all concern. I developed and completed 10 pages. For this section I demand 20000 taka. Due to personal relational I did not demand any charged for this version.
  6. I purchase Divi Theme and Image subscription by October 20 with 10600 taka. I entered 62 product images with this image subscription.
  7. I created 7 email address for you by October 2024. For email service I get 1000 taka per month. Due to personal relational I did not demand any charged for this.
  8. Free support service and maintenance is over form July 2024 to December 2024 = 6 months. Your new service contacts is already started from January 2025 which will cost 1000 Taka per month.  Service Contacts includes monthly Update, Backup and Restore. For any other development or fixing you need to pay 500/Hour.
  9. Website version 2 is started in January 2025. It is almost done. Here I have developed additional 17 pages with 10 category. Customer job responsibly to deliver related image for pages. Customer will also  entry essential number of products to enhance category. After completing version 1 we will start sub category/menu according to customer requirement. Because subcategory is possible without completing category. Since my capacity and time is limited I am seeking payment (according to customer wish) for version 2.    
  10. Website version 3 will start after receiving design and content. It can be note I will give budget to complete website version 3. I have designed such a way as they can move their services any where anytime
  11. So if you want to get owner ship with your email address, you can do with the help of domain provider. I also have domain migration experience.

How to Change Table Prefix with Plugin and Without Plugin

How to Change Table Prefix with Plugin and Without Plugin

If the Change Table Prefix plugin is not available, you can use another plugin to accomplish this. A commonly used plugin for this task is Brozzme DB Prefix & Tools Addon. Here’s how you can use it to change the table prefix in WordPress:

Step 1: Install the Plugin

  1. Log in to your WordPress admin dashboard.
  2. Go to PluginsAdd New.
  3. In the search bar, type Brozzme DB Prefix.
  4. You should see the plugin called Brozzme DB Prefix & Tools Addon.
  5. Click Install Now, and once installed, click Activate.

Step 2: Change the Table Prefix

  1. After activating the plugin, go to ToolsDB Prefix from the admin dashboard.
  2. You’ll see a field where you can enter a new table prefix.
  3. Enter your desired new prefix (e.g., newprefix_).
  4. Click Save Changes or Change Prefix (depending on the plugin’s interface).
  5. The plugin will then rename all your WordPress database tables and update the necessary options in the database.

Step 3: Test Your Site

After the table prefix has been changed:

  1. Check your site and WordPress dashboard to ensure that everything is working correctly.
  2. Log into your database using phpMyAdmin and confirm that the table prefixes have been updated.

Step 4: Backup and Security

Make sure to back up your site before making changes to the database, as modifying the database structure can potentially break your site if something goes wrong.

This plugin is a simple way to change the table prefix without needing to manually edit the database and files.

To change the display_errors setting to 0 in WordPress

To change the display_errors setting to 0 in WordPress

1. Access your WordPress Dashboard:

Log into your WordPress website’s admin area.

2. Navigate to the “General” Settings:

Go to Settings > General.

3. Locate the “WordPress Address” and “Site Address” fields:

Scroll down to the bottom of the page.

4. Change the “WordPress Address” and “Site Address” fields:

Replace the current URLs with your actual website address. This ensures that WordPress knows the correct location of your website.

5. Save the Changes:

Click the Save Changes button at the bottom of the page.

6. Check for errors:

Refresh your website and check if the “Save has failed” error persists. If it does, proceed to the next step.

7. Access your wp-config.php file:

Use file manager to access the wp-config.php file in your WordPress installation’s root directory.

8. Edit the wp-config.php file:

Open the wp-config.php file in a text editor.

9. Locate the define(‘WP_DEBUG’, true); Line:

If this line exists, comment it out by adding a double slash (//) before it.

10. Add the define(‘WP_DEBUG_DISPLAY’, false); Line:

Add this line to the wp-config.php file. This will prevent PHP errors from being displayed on the frontend of your website.

11. Save the wp-config.php file:

Add a Direct Order Button in WooCommerceDirect Order

o add a “Direct Order” button in WooCommerce, allowing users to purchase a product quickly without going through the cart process, you can follow these steps. This approach skips the cart and takes the user directly to checkout after clicking the button.

Option 1: Use a Plugin

There are several plugins available that can help you add a “Buy Now” or “Direct Order” button in WooCommerce:

  1. WooCommerce Buy Now Button: A plugin that allows you to add a “Buy Now” button that redirects customers straight to checkout.
  2. Direct Checkout for WooCommerce: This plugin allows you to skip the cart and go directly to checkout.
  3. WooCommerce One Page Checkout: This plugin provides a one-page checkout process.

Option 2: Custom Code (Without a Plugin)

If you prefer to manually add the functionality, you can add custom code to your theme.

Step 1: Create a Direct Checkout URL

Each WooCommerce product has a URL format that you can use to take the user directly to the checkout page. You can use the add-to-cart query parameter along with the product ID.

https://yourwebsite.com/checkout/?add-to-cart=PRODUCT_ID

Replace PRODUCT_ID with the actual product ID from WooCommerce.

Step 2: Add Custom “Buy Now” Button

You can add a custom button to the product page by modifying your theme’s functions.php file.

add_action( 'woocommerce_after_add_to_cart_button', 'add_buy_now_button' );

function add_buy_now_button() {
global $product;
$checkout_url = wc_get_checkout_url();
echo '<a href="' . $checkout_url . '?add-to-cart=' . $product->get_id() . '" class="button buy-now">Buy Now</a>';
}

This code adds a “Buy Now” button below the default “Add to Cart” button, and it directs the user to the checkout page.

Option 3: Modify WooCommerce Settings

You can also reduce the friction in the checkout process by changing a couple of WooCommerce settings:

  1. Redirect to the cart after successful addition:
    • Go to WooCommerce > Settings > Products.
    • Check Enable AJAX add to cart buttons on archives.
    • Check Redirect to the cart page after successful addition if you want users to go directly to the cart (then they can easily proceed to checkout).

These options are useful if you don’t want to skip the cart but still want to streamline the process.

Would you like a specific solution, or more details on any of these approaches?

Option 4: WooCommerce Direct Checkout Plugin and Code

Step 1: First insert below code in Function.php of theme

// Code Start +++++++++++++++++++++++++++++++++++++++++
// To change add to cart text on single product page
add_filter( 'woocommerce_product_single_add_to_cart_text', 'woocommerce_custom_single_add_to_cart_text' );
function woocommerce_custom_single_add_to_cart_text() {
return __( 'অ্ডার করুন', 'woocommerce' ); // Replace "Buy Now" text with your own text
}

// To change add to cart text on product archives(Collection) page
add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' );
function woocommerce_custom_product_add_to_cart_text() {
return __( 'অ্ডার করুন', 'woocommerce' ); // Replace "Buy Now" text with your own text
}
// Code End

Step2: Install WooCommerce Direct Checkout Plugin by QuadLayers

>> Go to setting of the plugin and set according to below screenshot

How To Create a Scroll To Top Button In WordPress

How To Create a Scroll To Top Button

In WordPress, the “Twenty Twenty-Three” theme (if it exists) would likely follow conventions similar to earlier default themes in terms of structure and style. To add a “Back to Top” scroll button without using a plugin, you can manually insert a few lines of code in your theme files. Here’s how:

1. Add the HTML:

Open footer.php in your theme. Before the closing </body> tag, add:

<a id="back-to-top" href="#" class="btn-back-to-top" title="Back to top">&#8679;</a>

the page. The &#8679; part is a Unicode character for the upward arrow, but you can replace it with any text or symbol you prefer.

2. Add the CSS:

Open style.css in your theme and add:

.btn-back-to-top {
position: fixed;
bottom: 50px;
right: 50px;
z-index: 99;
font-size: 18px;
border: none;
outline: none;
cursor: pointer;
colour: red;
padding: 10px;
border-radius: 4px;
display: none;
}

.btn-back-to-top:hover {
background-color: #555; /* Color change on hover */
}

This will style your button. The button will be fixed on the bottom right side of your site and will initially be hidden (display: none).

3. Add the JavaScript:

To make the button appear when scrolling down and disappear when near the top, you can use some JavaScript.

Open the footer.php again and before </body>, add:

<script>
    let backToTopButton = document.getElementById("back-to-top");

    window.addEventListener("scroll", () => {
        if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
            backToTopButton.style.display = "block";
        } else {
            backToTopButton.style.display = "none";
        }
    });

    backToTopButton.addEventListener("click", function() {
        document.body.scrollTop = 0; // For Safari
        document.documentElement.scrollTop = 0; // For other browsers
    });
</script>

This code listens for scroll events and toggles the visibility of the “Back to Top” button. It also smoothly scrolls you to the top of the page when clicked.

Remember to always backup your website before making changes to theme files, and preferably, create a child theme so your customizations aren’t lost when the main theme updates.