Coder Social home page Coder Social logo

marionf / prestashop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prestashop/prestashop

0.0 0.0 0.0 480.04 MB

PrestaShop offers a free, fully scalable, Open Source e-commerce solution.

Home Page: http://www.prestashop.com/

PHP 56.77% Shell 0.03% JavaScript 29.38% CSS 0.69% Ruby 0.01% Smarty 7.83% HTML 0.96% Vue 0.60% Hack 0.10% Less 0.09% Sass 0.88% SCSS 0.89% Twig 1.78%

prestashop's People

Contributors

aleeks avatar alexeven avatar antoin-m avatar bmancone avatar djfm avatar emilien-puget avatar fabienserny avatar groussac avatar jnadaud avatar jocel1 avatar julienbourdeau avatar kelu95 avatar maximebiloe avatar mickaelandrieu avatar nihco2 avatar ninjaofweb avatar prestaedit avatar quetzacoalt91 avatar raphaelmalie avatar rgaillard avatar sfroment avatar shipow avatar shudrum avatar slorenzini avatar tchauviere avatar thierrymarianne avatar vchabot avatar vschoener avatar xborderie avatar xgouley avatar

prestashop's Issues

test bug

Prerequisites

Describe the bug and add screenshots

this is my bug

Expected behavior

should work like this

Steps to reproduce

  1. Got to this page
  2. Click the link

PrestaShop version(s) where the bug happened

1.7.8.0

PHP version(s) where the bug happened

7.3

If your bug is related to a module, specify its name and its version

No response

Can add to cart out of stock product

I have a product with 3 quantity in stock. I have not allowed order of out of stock product.
I am in the product page and try to add 4 products to the cart.

I have well the out of stock message under the add to cart button but the button isn't disabled and I can click on it.

It was working on 1.7.3.0, the bug was introduced by this PR: PrestaShop#8607

It's working for packs but not for standard products and products with combinations

test 1

Ceci est un test pour faire du tri sur les Issues.

my feature request

Prerequisites

Is your feature request related to a problem?

the problem

Describe the solution you'd like

we should do this

Alternatives you've considered

gdsgsdg

Additional context

gdsg

Error when duplicate product with combinations and specific price

When I try to copy (duplicate) a product which has an assigned specific price (does not mater if it is on catalogue rules or specific prices on product prices tab) and added attrubutes combinations it generates error:

Duplicate entry '15-0-0-0-2017-10-12 00:00:00-2017-10-31 00:00:00-1-0-0-0-0-1-1' for key 'id_product_2'

INSERT INTO ps_specific_price (id_shop_group, id_shop, id_cart, id_product, id_product_attribute, id_currency, id_specific_price_rule, id_country, id_group, id_customer, price, from_quantity, reduction, reduction_tax, reduction_type, from, to) VALUES ('0', '1', '0', '15', '0', '0', '1', '0', '0', '0', '-1', '1', '12', '0', 'amount', '2017-10-12 00:00:00', '2017-10-31 00:00:00')

It also does not copy product photos.

How to reproduce this error:

  1. Add a new catalog rule with % discount (or create specific price with % discount on product prices tab - same result)
  2. Add a product combinations in product's tab
  3. Add a specific price in products's tab
  4. Clone product
  5. Debug mode is enabled

Thank you for help.
Regards.

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.