Modify PHP Code Woocommerce
$30-250 AUD
Thanh toán khi bàn giao
I would like to change this code so it automatically shows in the same position regardless of stock management settings in the backend
add_filter('woocommerce_get_availability_text', 'customizing_stock_availability_text', 1, 2);
function customizing_stock_availability_text($availability, $product) {
if (!$product->is_in_stock()) {
$availability = __('Sold Out: Back in stock August 2021. Enter your email to be notified', 'woocommerce');
} elseif ($product->managing_stock() && $product->is_on_backorder(1)) {
$availability = $product->backorders_require_notification() ? __('Available on backorder', 'woocommerce') : '';
} elseif ($product->managing_stock()) {
$availability = __('<a style="text-decoration: none;" href="delivery-and-returns/"><b>FREE</b> Delivery in 2 - 4 bus. days if you spend $85 (otherwise just $9) </a><div style="clear:both;"></div><hr>', 'woocommerce');
$stock_amount = $product->get_stock_quantity();
switch (get_option('woocommerce_stock_format')) {
case 'low_amount' :
if ($stock_amount <= get_option('woocommerce_notify_low_stock_amount')) {
/* translators: %s: stock amount */
$availability = sprintf(__('Only %s Available!', 'woocommerce'), wc_format_stock_quantity_for_display($stock_amount, $product));
}
break;
case '' :
/* translators: %s: stock amount */
$availability = sprintf(__('%s Available!', 'woocommerce'), wc_format_stock_quantity_for_display($stock_amount, $product));
break;
}
if ($product->backorders_allowed() && $product->backorders_require_notification()) {
$availability .= ' ' . __('(can be backordered)', 'woocommerce');
}
} else {
$availability = '';
}
return $availability;
}
ID dự án: #31013771
Về dự án
28 freelancer chào giá trung bình$165 cho công việc này
Hi there, I can do this task to Modify PHP Code Woocommerce being an expert Web deveper. Please initiate a chat to discuss further details and I can then provide you with a final Quote for this project. Look forward Thêm
Hi, I can help you in changing the code on woocommerce .. Let me know when you here to discuss more in detailed about Job. I am having 10 years experience on woocommerce development. You can check my profile : http Thêm
Hi, I will modify custom woo-commerce code on your website according to your job requirement. I have been working on WordPress since last 8+ years. I have worked on several similar projects. You can see an example of o Thêm
for customizing your ~Website~ you need a >>Professional Web Developer<<. I'm here to help you to customize your Woocommerce PHP Code. I have more than 6 yrs of exp in "HTML, CSS, JS, JQUERY, PHP and WordPress". Cou Thêm
Hello, client. Hope you to be in good health. As a superb developer with 5+ years of experience in fullstack development, now I feel really confident to finish your job with best quality. Particularly, I have rich exp Thêm
Hello, Gretting of the day!! I have gone through your requirements that you need to Modify PHP Code Woocommerce I am an expert on WordPress Design & Development. I have done more projects on time. I have knowledge o Thêm
Hey Tom! I am available right now to discuss the project! I can modify this Php code for your because, i have Excellent knowledge of PHP/Woocommerce. I am well equipped with Core PHP, MYSQL, JavaScript, JQUERY, AJAX Thêm
Hi We go through your requirement. We are professional designer and developers having 7 years of working experience. Cost and timeline will be confirmed in chat after a complete understanding of the requirements. Wait Thêm
I am ready to change this code so it automatically shows in the same position. please send me a message to discuss further information about this project in chat. thank you