Find Jobs
Hire Freelancers

Create Shopify App Cancels Order if X item is ordered to same addres -- 2

$30-250 USD

Berlangsung
Dibuat 5 bulan yang lalu

$30-250 USD

Dibayar ketika dikirim
I've bascially written the code your job is to publish an app for me on the app store so i can sell and market it Creating a Shopify app that restricts the number of a specific product (let's call it 'X') that can be ordered to a single address requires a few key components. The app must: 1. **Integrate with Shopify**: To access order and customer data. 2. **Identify the product 'X' in orders**: Check if the product in the order is 'X'. 3. **Check the shipping address**: Verify if 'X' has already been ordered to the specific address. 4. **Cancel the order if conditions are met**: If 'X' has already been ordered to the same address, cancel the new order. Below is a basic outline of how the script for such an app might look. This script is written in Python, using Shopify's API. Note that this is a simplified version and does not include error handling, logging, or other robust features you would want in a production environment. ### Prerequisites: - Shopify API access - A server to host this script ### Script Outline: ```python import shopify API_KEY = 'your_api_key' PASSWORD = 'your_password' SHOP_NAME = 'your_shop_name' SHARED_SECRET = 'your_shared_secret' # Initialize Shopify API shopify.ShopifyResource.set_site(f"https://{API_KEY}:{PASSWORD}@{SHOP_NAME}.[login to view URL]") # The product ID for product 'X' PRODUCT_X_ID = 'the_product_id' def is_duplicate_order(order, product_id, restricted_address, restricted_zip): """ Check if the order contains the specified product and is being sent to a restricted address. """ for line_item in order.line_items: if line_item.product_id == product_id: address_line1 = [login to view URL] zip_code = [login to view URL] if address_line1 == restricted_address and zip_code == restricted_zip: return True return False def cancel_order(order): """ Cancel the specified order. """ [login to view URL]() def main(): # Define the restricted address RESTRICTED_ADDRESS = "805 Mulburry St" RESTRICTED_ZIP = "Zip_Code" # Fetch recent orders recent_orders = [login to view URL](limit=250) for order in recent_orders: if is_duplicate_order(order, PRODUCT_X_ID, RESTRICTED_ADDRESS, RESTRICTED_ZIP): cancel_order(order) print(f"Order {[login to view URL]} cancelled: Duplicate order for product X to restricted address.") if __name__ == "__main__": main() ``` ### Key Points: - Replace `'your_api_key'`, `'your_password'`, `'your_shop_name'`, `'your_shared_secret'`, `'the_product_id'`, and `'Zip_Code'` with your actual Shopify API credentials, shop name, product ID, and the ZIP code of the restricted address. - The `is_duplicate_order` function checks if an order contains product 'X' and is shipped to the restricted address. - The `cancel_order` function cancels the order if the criteria are met. - This script assumes you have access to the necessary Shopify API permissions. ### Final Steps: 1. **Test the script thoroughly** in a development environment. 2. **Deploy the script** on a server. 3. **Schedule it to run** at regular intervals or trigger it based on specific Shopify webhooks. Remember, this is just a starting point. Depending on your exact requirements and the complexity of your Shopify setup, you may need to expand or modify this script.
ID Proyek: 37547481

Tentang proyek

32 proposal
Proyek remot
Aktif 5 bulan yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
Hey, I'm a professional Shopify expert and I have 8+ years of experience in Shopify. I can create an app that prevents orders from being placed to the same address if an item containing the specified product is ordered. With my expertise in PHP, HTML, Shopify and other related technologies,. I can help you with: 1) Fixing any store issue like design or Backend. 2) Shopify Website edit. 3) Update Inventory 4) Product Listings or Uploading Vendor File 5) Shopify Website customization. 6) Shopify website setup 7) Shopify theme & Updates to 2.0 8) Customer Support 9) Social Page Handling related to Shopify ---> Some of my recent Shopify works. [login to view URL] [login to view URL] [login to view URL] So, give it a thought and I'm eagerly looking forward to working with you. Thank You and Best Regards
$120 USD dalam 5 hari
4,9 (12 ulasan)
3,8
3,8
32 freelancer menawar dengan rata-rata $157 USD untuk pekerjaan ini
Avatar Pengguna
Hello, I am a full-stack developer with 10 years of experience in the field. I understand that you are looking for someone to create an app that checks if an order contains a specific product and is shipped to a restricted address and cancels the order if the conditions are met. I believe I am the perfect person to take on this project. With my extensive experience in graphic design, HTML, Shopify and website design, I am confident that I can develop an app that meets your requirements. Additionally, I always strive to provide top-notch customer service and deliver high quality work on all projects. I would be delighted to discuss this project further with you and look forward to hearing from you soon-
$250 USD dalam 7 hari
4,9 (318 ulasan)
8,7
8,7
Avatar Pengguna
Hey=====Got it the task surely I will complete it =========SHOPIFY Professional Expert------------I will deliver you Quality and Accurate work within the deadline----- Let’s connect on chat for further discussion and start quickly. Thanks!!
$300 USD dalam 5 hari
4,9 (99 ulasan)
7,2
7,2
Avatar Pengguna
Hello, my name is Pallavi and I am a full-time web and mobile app developer working as a freelancer. I have extensive experience in creating complex web and app projects. With over 10 years of experience in this field, I am confident that I can provide the necessary expertise to complete your project. I understand that you are looking for someone to create an app that restricts the number of a specific product (let's call it 'X') that can be ordered to a single address. This requires several key components to be integrated into the app: 1. Integration with Shopify: To access order and customer data. 2. Identifying the product 'X' in orders: Check if the product in the order is 'X'. 3. Checking the shipping address: Verify if 'X' has already been ordered to the specific address. 4. Cancelling the order if conditions are met: If 'X' has already been ordered to the same address, cancel the new order. I believe that I am the perfect person for this job due to my extensive experience in web and app development as well as my commitment to timely delivery of high quality projects at an
$250 USD dalam 7 hari
4,6 (144 ulasan)
7,0
7,0
Avatar Pengguna
I can create Shopify App Cancels Order if X item is ordered to same address. Please initiate a message for further discussion.
$125 USD dalam 3 hari
4,8 (89 ulasan)
6,8
6,8
Avatar Pengguna
Please consider me and give me a chance to impress you by my quality services. I read job description and I can do your project. I can even work on urgent basis and complete your project soon. Contact me for more information. Regards Kamal
$150 USD dalam 7 hari
5,0 (89 ulasan)
6,6
6,6
Avatar Pengguna
Hi there! My name is Navjot and I am an experienced freelancer with over 10+ years of experience in Web Design & Development. I specialize in Magento 2, WordPress, Shopify and HTML5. I understand that you are looking for someone to create an app that checks if an order contains the product 'X' and cancels the order if the conditions are met. This script requires a few key components to be integrated into a Shopify app: 1. API access to access order and customer data 2. Identifying the product 'X' in orders 3. Checking the shipping address 4. Cancelling orders if conditions are met
$140 USD dalam 7 hari
4,7 (227 ulasan)
6,7
6,7
Avatar Pengguna
Greetings. I am an experienced Shopify app developer with over 7 years of expertise in e-commerce solutions. I am confident that I can help you in creating and publishing the app as per your outlined requirements. To clarify the technical aspects, I kindly request the following information: 1. How are the restricted address and ZIP code parameters dynamically managed within your Shopify store? 2. Are there any specific error handling or logging requirements you'd like to include in the app for a more robust implementation? 3. Have you considered any specific server hosting preferences, or should I provide recommendations based on the script's requirements? 4. Are there additional features or functionalities you'd like to integrate into the app to enhance its usability? Let's schedule a quick chat session to discuss the project thoroughly. I look forward to connecting with you on the technical intricacies and bringing your Shopify app to fruition.
$200 USD dalam 5 hari
5,0 (15 ulasan)
5,6
5,6
Avatar Pengguna
Hello I read the description carefully and i can do it perfectly. If you would like to discuss then please message me. I am pretty confident that I will complete your work without disappointing you. For further information: Lets chat!
$150 USD dalam 7 hari
5,0 (50 ulasan)
5,0
5,0
Avatar Pengguna
Hello, We have been working on excel, vba, access, python, finance for more than 12 years. We have more than 15 years of experience doing data based projects. I believe this is something I can do for sure :) You may check the projects I have already completed here: https://www.freelancer.com/projects/excel/Excel-VBA-Data-Entry-Analysis-32285292/reviews https://www.freelancer.com/projects/excel/Data-Analytics-Project-30073140/details https://www.freelancer.com/projects/data-mining/DATA-MINING-ANALYSIS-USING-NEURAL/reviews https://www.freelancer.com/projects/excel/Hire-Excel-Expert-15193739 I would love to discuss the project further :). Best, Hem
$175 USD dalam 2 hari
4,1 (54 ulasan)
5,6
5,6
Avatar Pengguna
Hi, Hope you are doing great today. > Please read it carefully, this is not a generic proposal < I noticed that you are seeking a Create Shopify App Cancels Order if X item is ordered to same addres -- 2. I would like to take this opportunity to share with you that I possess a variety of Website Design, Graphic Design, HTML, Shopify Templates, Shopify and have completed numerous projects throughout my career. I am confident that I can deliver the results you need for your project with the same level of professionalism and expertise. Please keep in mind that I am available to discuss the details of the project with you at any time through chat. Additionally, you can view my profiles to get to know the skills and expertise I possess https://www.freelancer.com/u/rannasteve As part of my commitment to delivering high-quality work, I will assign a dedicated Project Manager to your project to provide daily progress reports. You can also count on 24-hour chat support, so time differences won't be an issue. I will ensure that the project is completed within the timeline that we mutually agreed upon before the start of the project. Finally, I offer a one-month maintenance period after the project is completed. I look forward to hearing back from you and discussing how we can work together to bring your project to life. Best regards, Steven
$140 USD dalam 7 hari
4,6 (3 ulasan)
4,8
4,8
Avatar Pengguna
Hey Boyce, I hope this proposal finds you well. I have carefully reviewed your project description and I am confident that I can assist you in creating a Shopify app that cancels orders if a specific item ('X') is ordered to the same address. To achieve this, the app will need to integrate with Shopify, identify the product 'X' in orders, check the shipping address, and cancel the order if the conditions are met. I have outlined a basic script in Python that utilizes Shopify's API to accomplish these tasks. Before proceeding, I suggest thoroughly testing the script in a development environment and ensuring that you have the necessary Shopify API access and permissions. Once you are satisfied with the functionality, the script can be deployed on a server and scheduled to run at regular intervals or triggered by specific Shopify webhooks. I am committed to delivering high-quality work and ensuring your satisfaction. Therefore, I kindly request that you initiate the chat only once you are completely satisfied with the app's functionality. I look forward to working with you on this project. Best regards, Amir
$140 USD dalam 7 hari
5,0 (8 ulasan)
3,2
3,2
Avatar Pengguna
Hello, I am Talha Munawar. I have over 5 years of expertise in Shopify development, I offer a seamless deployment of your app to the App Store. My proven track record includes crafting robust scripts for Shopify API integration, ensuring secure product order restrictions, and efficient duplicate order cancellation. I am committed to delivering a reliable solution to enhance your sales and marketing efforts. Best Regard, Talha Munawar
$140 USD dalam 3 hari
4,7 (4 ulasan)
3,5
3,5
Avatar Pengguna
Hello, I'm thrilled about the opportunity to assist you in publishing your Shopify app. Here's how I plan to approach the job: **Key Components for App Development:** 1. **Shopify Integration:** - Leverage Shopify API to seamlessly integrate with your store for efficient order and customer data access. 2. **Product Identification:** - Implement logic to accurately identify the specified product 'X' within incoming orders. 3. **Address Verification:** - Check and validate the shipping address to ensure compliance with the restrictions. 4. **Order Cancellation:** - Develop a mechanism to cancel orders if conditions for duplicate orders are met, safeguarding your product's integrity. **Script Outline:** - I've reviewed the provided Python script outline, which serves as an excellent foundation. I appreciate the clarity in addressing prerequisites, script outline, and key points. **Questions:** 1. Could you provide more specific details about your product and the nature of the restrictions to tailor the app precisely to your needs? 2. Are there any additional functionalities or specific error handling scenarios you'd like to incorporate? I look forward to collaborating with you on this project. Let's ensure a smooth launch for your app on the Shopify store. Best regards, Adnan
$250 USD dalam 4 hari
5,0 (4 ulasan)
2,9
2,9
Avatar Pengguna
Hello, Good morning Binish here, I’m interested and available to work on your project regarding Create Shopify App Cancels Order if X item is ordered to same addres -- 2. YOU CAN CHECK MY PORTFOLIO : https://www.freelancer.com/u/DigitalMediaLab Please contact me for more discussion regarding time-frame,design style and other stuff etc. Thank You. Binish
$65 USD dalam 2 hari
5,0 (4 ulasan)
2,4
2,4
Avatar Pengguna
Hi there! My name is Faheem, and I'm here to help you build your Shopify app. With over 10 years of experience in the design community, I have the skills necessary to create a stunning app that meets all of your requirements. I have a background in graphic design, HTML, website design, and more. This makes me uniquely suited to creating the type of app you're looking for - one that restricts the number of a specific product (let's call it 'X') that can be ordered to a single address requires a few key components. The app must integrate with Shopify so you can access order and customer data, as well as verify if the product in the order is 'X' before cancelling any new orders if conditions are met.
$140 USD dalam 7 hari
4,1 (3 ulasan)
2,5
2,5
Avatar Pengguna
Hi Greetings! We are team of software developers. Success Key as An IT Services providing Company – We are providing Web Application Including, Domain Registration, Web Hosting, web Designing, Web Development, Cloud Services, Software Development, Mobile App Development and Services, Digital Marketing, Android & IOS Development and Services, Data Analysis / Management System, Frontend Framework Services, Software Testing and Quality Assurance, Crypto and Trading Strategy, UI Design and Animations & Lot Many Software Services. ✓ we are providing services at 30- 40% less than the market price. ✓ We have big team of around 1000+ software developers all over the world associated with us. ✓ We have 120+ of Software developers’ in-house team. ✓ We have developers working on almost all the technologies (160+). ✓ We will assign you a project manager who will assist you during entire process of project completion. ✓ We have 7 ++ years of experience in design and development. ✓ We can handle projects from small styling to full development from scratch. [Type here] WHY-Us: » Ready to Start on Immediate basis & provide proper Testing. » Keep your Data & Website Secure: Daily Progress Updates. » You will get 30-days FREE BUG-SUPPORT even after Project-Completion Please come in touch and let's discuss more detail about your task via chat. Project milestones will be decided during chat. Thanks and Regards: Success Key IT Group Of Companies.
$100 USD dalam 7 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
- My name is Vika and I am an experienced Senior Web Designer/Developer with over 10 years of hands-on expertise in creating visually stunning, user-friendly websites and web applications. I have the necessary skills and expertise to create the perfect Shopify app for your project. Specifically, I have extensive knowledge of front-end development (HTML5, CSS3, JavaScript (ES6+), React), back-end development (Node.js, Express), mobile development (React Native and Flutter for iOS), database management (MySQL, MongoDB), responsive design (Bootstrap), UI/UX design (Adobe Creative Suite (Photoshop, Illustrator, XD)), version control (Git & SVN) and web performance optimization. Additionally, I have experience in project management and team leadership which will be critical for successful completion of this project.
$150 USD dalam 6 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
Queen Creek, United States
5,0
2
Memverifikasi Metode pembayaran
Anggota sejak Okt 3, 2023

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.