Skip to content

Sample Files for Unsalable Products Redirect Instead of Download #23638

Closed
@samuel-reinhardt

Description

@samuel-reinhardt

Preconditions (*)

  1. 2.4-develop
  2. Set Stores->Catalog->Inventory->Stock Options->Display Out of Stock Products=Yes

Steps to reproduce (*)

  1. Login to admin
  2. Go to Catalog-->Products
  3. Select 'Downloadable product' from 'Add product' button dropdown
  4. Fill all required inputs
  5. Set product status to 'Out to stock'
  6. Go to 'Downloadable information' tab
  7. Press 'Add link' button under a Samples
  8. Add any test file
  9. Save a product
  10. Go to the product page on the frontend
  11. Press on link under 'Samples'

Expected result (*)

  1. By default, the sample file should be downloaded. Products that are not currently for sale should still allow customers to download samples.

Actual result (*)

  1. New tab is opened. No download is started and no explanation is given.

Metadata

Metadata

Labels

Component: DownloadableFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions