PrestaShop / PrestaShop/docs

Document the cart, cart rule and specific price behaviour

Open
#601 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
136
Forks
555
Avg merge
4d 14h
Merged PRs (30d)
4

Description

We had lots of discussions and discoveries regarding the discount and prices during the Order development
All these strange behaviour (and even the normal behaviour) should be documented in the Core Reference > Components > Cart section

  • how to use CartRule
  • the relation with OrderCartRule
  • How SpecificPrice are used to override order product prices

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Core Reference > Components > Cart section and review the Order development discussions referenced by the issue. Document CartRule usage, its relation to OrderCartRule, and how SpecificPrice overrides order product prices; the work is done when these behaviours, including the noted normal and unusual cases, are explained there.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.