Skip to content

Commit

Permalink
Merge pull request #136 from jairo-bc/STRF-8769
Browse files Browse the repository at this point in the history
STRF-8769 Quick View - Image and price changes not reflected if an image is assigned to variant/sku
  • Loading branch information
junedkazi authored Nov 2, 2020
2 parents 2a040ae + 45bfd41 commit a768031
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/api/product-attributes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Base from './base';
import Hooks from '../hooks';
import { normalizeQueryStringParams } from '../lib/utils';
import { parse } from '../lib/query-string';

export default class extends Base {
/**
Expand Down Expand Up @@ -29,8 +29,7 @@ export default class extends Base {
templateArg = null;
}

const normalizedQs = normalizeQueryStringParams(params);
this.remoteRequest(this.endpoint + productId, 'POST', { params: normalizedQs, template: templateArg }, (err, response) => {
this.remoteRequest(this.endpoint + productId, 'POST', { params: parse(params), template: templateArg }, (err, response) => {
const emitData = {
err,
response,
Expand Down

0 comments on commit a768031

Please sign in to comment.