{"id":26506638,"url":"https://github.com/dho-rae/ecommerce-pricing-strategy","last_synced_at":"2025-03-20T22:56:00.083Z","repository":{"id":281080328,"uuid":"944143906","full_name":"dho-rae/Ecommerce-Pricing-Strategy","owner":"dho-rae","description":"This project develops an algorithm for an e-commerce retailer to dynamically adjust product prices in response to competitor pricing. By simulating the impact of price adjustments, the system recommends whether to change, maintain, or optimise pricing strategies to maximise profitability. This project was developed for a C++ programming course.","archived":false,"fork":false,"pushed_at":"2025-03-10T00:49:05.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T01:50:48.863Z","etag":null,"topics":["business-intelligence","cpp","data-processing","ecommerce","pricing-algorithms","profit-maximization","university-project"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dho-rae.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-06T21:23:36.000Z","updated_at":"2025-03-10T00:52:15.000Z","dependencies_parsed_at":"2025-03-10T01:50:53.410Z","dependency_job_id":"fd075fbd-94ee-4f50-8afd-8c8cacf9ffc7","html_url":"https://github.com/dho-rae/Ecommerce-Pricing-Strategy","commit_stats":null,"previous_names":["dho-rae/programming-with-c","dho-rae/ecommerce-pricing-strategy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dho-rae%2FEcommerce-Pricing-Strategy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dho-rae%2FEcommerce-Pricing-Strategy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dho-rae%2FEcommerce-Pricing-Strategy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dho-rae%2FEcommerce-Pricing-Strategy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dho-rae","download_url":"https://codeload.github.com/dho-rae/Ecommerce-Pricing-Strategy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706526,"owners_count":20496571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["business-intelligence","cpp","data-processing","ecommerce","pricing-algorithms","profit-maximization","university-project"],"created_at":"2025-03-20T22:55:59.506Z","updated_at":"2025-03-20T22:56:00.072Z","avatar_url":"https://github.com/dho-rae.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Competitive Pricing Analysis\n\n## Overview\nThis project implements a **competitive pricing analysis system** for an online retailer to dynamically adjust product prices based on competitor pricing and internal profitability metrics. The program analyses various factors, including:\n\n- **Quantity sold** over a given period\n- **Shipping costs**\n- **Profit margin (GCBM - Gross Contribution Before Marketing)**\n- **Competitor prices**\n\nUsing these parameters, the system evaluates whether adjusting the price to match competitors would be beneficial, assuming sales volume remains constant. The program then **proposes a price change** (or none, if not required).\n\n## Features\n- Parses competitor price data and internal sales records\n- Computes profit margins under current and competitor pricing\n- Evaluates pricing adjustments without impacting sales volume\n- Suggests price changes based on profitability assessment\n\n## Class Structure\n### **1. ProductData** (`productData.hpp`, `productData.cpp`)\nHandles the internal pricing and sales data for each product, including:\n- Storing product details (ID, name, price, quantity sold)\n- Calculating the **Gross Contribution Before Marketing (GCBM)**\n\n### **2. CompetitorProductData** (`competitorProductData.hpp`, `competitorProductData.cpp`)\nManages external pricing data, including:\n- Competitor prices for the same product\n- Evaluation of pricing adjustments\n\n### **3. Main Application** (`main.cpp`)\n- Reads input data\n- Computes profitability under different pricing strategies\n- Displays **recommended price adjustments**\n\n## Installation \u0026 Usage\n### **1. Compile the Program**\n```bash\ng++ -o pricing_analysis main.cpp productData.cpp competitorProductData.cpp\n```\n### **2. Run the Program**\n```bash\n./pricing_analysis\n```\n### **3. Sample Output**\n```\nProduct: Designer Handbag\nCurrent Price: $1200\nCompetitor Price: $1100\nSuggested Price Adjustment: Reduce to $1150 to stay competitive\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdho-rae%2Fecommerce-pricing-strategy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdho-rae%2Fecommerce-pricing-strategy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdho-rae%2Fecommerce-pricing-strategy/lists"}