Giter Club home page Giter Club logo

open-eshop's People

Contributors

emanwebdev avatar josifovics avatar kotsios5 avatar neo22s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-eshop's Issues

Import tool excel to orders

Import from excel:

Email Name Product_seotitle amount date_paid

Create user if doesnt exists
Search for product, if exists->Create order

Review product

Add products reviews so later we can short by reviews.

Star system + Comment.

Only after purchase you can add 1 review.

Review option to disable. Doesn't appear in the product page or to add the review in the user panel.e

Add field Rank/rate to products. it recalculates after new review its posted.

So we need to:

  • Add new field Rank to product
  • Use table reviews
  • oc-panel:
    • add review to purchase, sends thanks email to buyer and to product owner notifying him
    • review controller list, email, product, rating, date -> edit, delete. On edit delete recalculate!
  • Product display reviews
  • Public controller last reviews, Product, comment, rating. if review enabled
  • product listing display stars (only image) if review enabled.
mysql_query("CREATE TABLE IF NOT EXISTS ".$_POST['TABLE_PREFIX']."reviews (
id_review int(10) unsigned NOT NULL AUTO_INCREMENT,
id_user int(10) unsigned NOT NULL,
id_product int(10) unsigned NOT NULL,
rate int(2) unsigned NOT NULL DEFAULT '0',
description text NOT NULL,
created timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
ip_address float DEFAULT NULL,
status tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (id_review) USING BTREE,
KEY ".$_POST['TABLE_PREFIX']."reviews_IK_id_user (id_user),
KEY ".$_POST['TABLE_PREFIX']."reviews_IK_id_product (id_product)
) ENGINE=InnoDB DEFAULT CHARSET=".$POST['DBCHARSET'].";");```

License check

API, were we send the license key and returns if its valid or not.

If was not activated we activate the license and we store the domain from were was used.

If they are trying to activate form different domain return KO.

Implement it on Open Classifieds, when theme is first installed. And then to check it every day that still uses a license. We can store a config with last verification.

menus like widgets. if none default

Controller on panel like widgets but for menus.

Should appear all the dynamic pages + all the categories + all the static pages.

We store it as a config.

Single Product view

Display:
File type amnd size (if theres)
Support Days
Licenses
License duration

Manual Sale

Add sales manually:

User Email
User Name
Product
Amount
Currency
Date paid
Method

Configs refactor

Some configs are not in use any more.
New configs:
PRODUCT(max_size, num_images, formats)

Removed:
Advertisements in Map, Moderation, Advertisements in RSS

Rename:
general.advertisements_per_page to general.product_per_page

Coupons

Sidebar coupon form. (after purchase we delete the session)

id_cupon
name -> unique
expire date
number of coupons
% percentage 0
fixed amount 0

paypal form return url config

Able to specify a return paypal page from config like in the TOS.

Or better display the 'email_purchase_notes' field in a thanks page?

Blog

Using same as OC blog.

But adding fields to allow use the table posts for the forums.

id_post
id_user
id_forum (null)
title
description
created
ip_Address

Todo:
Route /blog/TITLE.html
config activate blog
Menu link
Sitemap
Feed

Affiliates

  • Create a config for admin called affiliates. With options::
    Activate affiliates (true/false)
    Payout days (number of days that a commission is paid)
    Minimum paid XX€ by currency
    Days Cookie
    Terms of service page (displayed in the affiliate panel)
  • User Affiliate panel:
    Panel only appears if affiliates active
    Text resume how many days cookie lasts, minimum to get paid, button to add paypal account
    Will show the affiliate link (product select and modal).
    Total earn / visits / conversion %
    Total Month / visits / conversion %
    Total since last payment / visits / conversion %
    View payments (orders without product)
    All affiliates sales paginated
  • Affiliate flow
    All users are affiliates
    &a=67(affiliate number) at any url will give XX days cookie
    Every visit store id_affiliate
    Purchase paid create an affiliate line at table affiliates
    Send email to affiliate.
  • Affiliate to get paid (todo elaborate)
    Only pay affiliate lines that are older than X days
    Generates an order negative amount, without product, update affiliate lines with id order
    Sends an email to affiliate that he got paid.
  • users Table
    New field paypal_account
  • Views table
    Affiliate ID
  • oe_affiliates TABLE
    id_affilate
    id_order
    id_user
    created
    status (0=new,1=paid.10=refunded)
    date_paid
    percentage
    amount
    currency

Allow users post products

Option in general to set public publishing products.

Market = on/off
Market price = X USD (to publish a product)

User has panel access to:

  • Profile has payment options, paypal email, and paymill (only appears if market option ON)
  • Products, filter for his. Restrict delete, edit etc.. We dont allow to create new product if he didnt put his paypal at least.
  • To create product needs to pay unless market price its 0.
  • Tickets, that he opened and those that belong to him (from any of his products)
  • Global stats filtered by user /stats/IDUSER

To modify:

  • Notify of new sale to the product owner
  • Notify of new ticket/answer to product owner
  • Payment is done to the paypal paymill account of the product owner

frontend theme

Displays products and buttons to read more and pay. responsive.

License Expire

In products we need a license expire days.

If 0 never expires.

Home page, display page content

Dropdown to show all pages, if none selected, use normal listing of products. If not display page content, using the title.

Blog and Forum

Table posts:

id_post
id_user
type = 1= blog 2 = forum
id_category
title
description
created_DAte
published_Date
ip_Address

Table categories product/blog/forums (2 different controllers same table):
id_category
type = 0=products 1= blog 2 = forum

table comments
id_post
id_user
id_category
description
date
ip_Address

table_visit (add)
id_post
type = 0=products 1= blog 2 = forum

Public controllers:
Blog:
/blog/CATEGORY/
/blog/TITLE.html
/forum/FORUMCAT/
/forum/TITLE.html
/forum/new-topic.html

Configs to activate/deactivate blog/forum will show icon on header

Widget:
latest forums/blog, latest comments forum/blog.
Categories forum/blog

Panel UI

Check links and sidebar icons

For the 2 kinds of users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.