Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Blackbox test Shopify App #106

Open
Tracked by #2
sfaria27 opened this issue Aug 30, 2023 · 11 comments
Open
Tracked by #2

Blackbox test Shopify App #106

sfaria27 opened this issue Aug 30, 2023 · 11 comments
Assignees
Labels
blocked Something is blocking this. testing Related to testing.
Milestone

Comments

@sfaria27
Copy link

sfaria27 commented Aug 30, 2023

Try to break Shopify app before sending in for Shopify review

@sfaria27 sfaria27 self-assigned this Aug 30, 2023
@sfaria27 sfaria27 added this to the MVP milestone Aug 30, 2023
@sfaria27 sfaria27 added the blocked Something is blocking this. label Sep 5, 2023
@ricardobrg
Copy link
Collaborator

Adding the necessary fix as comments to be converted into issues.

@ricardobrg
Copy link
Collaborator

If a product discount has an "Applies to" filter, it breaks TIKI sqlite database when accepted:

Uncaught SqliteException(11): while executing, database disk image is malformed, database disk image is malformed (code 11)
  Causing statement:     CREATE TABLE IF NOT EXISTS txn (
      id BLOB PRIMARY KEY NOT NULL,
      merkel_proof BLOB,
      version INTEGER NOT NULL,
      address BLOB NOT NULL,
      contents BLOB NOT NULL,
      asset_ref TEXT NOT NULL,
      block_id BLOB, 
      timestamp INTEGER NOT NULL,
      user_signature BlOB NOT NULL,
      app_signature BlOB,
      FOREIGN KEY(block_id) 
        REFERENCES block(id)
     ); 
    , parameters: 
    at Object.d (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:12959)
    at Object.A5 (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:153256)
    at rc.c0 (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:519417)
    at rc.cz (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:519557)
    at https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:143764
    at G.a (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:42343)
    at zE.$2 (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:188691)
    at zp.$1 (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:188587)
    at z2.v4 (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:200965)
    at z2.jk (https://unpkg.com/@mytiki/[email protected]/dist/index.js:1:201017)
    ```

@ricardobrg
Copy link
Collaborator

ricardobrg commented Sep 11, 2023

The discount details are not showing correct values.

Steps to reproduce

  • create an discount
  • open the discount in the menu
  • check the values are not matching

#117

@ricardobrg
Copy link
Collaborator

The discount/license accepted cookies should be saved faster. If the user accepts the offer and navigates faster to another page, the banner will keep showing because the decision wasn't saved.

This might be the expected behaviour, since we need to make sure that the user choice was correctly saved. To be defined the best approach.

@ricardobrg
Copy link
Collaborator

ricardobrg commented Sep 11, 2023

Banner should not show in contact screen and should show in catalog screen.

Technically should show in all screens in the subdomain

@ricardobrg
Copy link
Collaborator

ricardobrg commented Sep 11, 2023

Add an option to cap the number of itens in product discount

For example, if you have a 10% discount and add 3 items, it will discount 10% off of every item.

@ricardobrg
Copy link
Collaborator

fix the sizing of the banner for screens below 1024px. Related to tiki-deprecated/publish-sdk-js#135

@sfaria27
Copy link
Author

Minimum order discount should be ≥ not >

@sfaria27 sfaria27 removed the blocked Something is blocking this. label Sep 12, 2023
@ricardobrg
Copy link
Collaborator

If all combinations boxes are selected just shipping is registered

Possible causes:

  • the form is not sending the correct value
  • our backend is not saving correclty this option
  • Shopify just allows product discounts combined with shipping discounts and the Combinations UI should be updated (most likely)

@ricardobrg
Copy link
Collaborator

@ricardobrg ricardobrg added blocked Something is blocking this. testing Related to testing. labels Sep 22, 2023
@ricardobrg
Copy link
Collaborator

Blocked by tiki-deprecated/publish-sdk-js#108

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked Something is blocking this. testing Related to testing.
Projects
None yet
Development

No branches or pull requests

2 participants