Skip to content

Issue with getting SellingPlanPercentagePriceAdjustment #1296

Description

@mehul-infocusp

I have made query something like this:

											.title()
											.sellingPlanGroups(first: 10) { $0
												.edges { $0
													.node { $0
														.sellingPlans(first: 10) { $0
															.edges { $0
																.node { $0
																	.id()
																	.name()
																	.description()
																	.priceAdjustments { $0
																		.adjustmentValue { $0
																			.onSellingPlanPercentagePriceAdjustment { $0
																				.adjustmentPercentage()
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}

After making call - If I print the values - it shows me the price adjustment values. But when i try to access it via variable - i can get XXX.priceAdjustments.first!.adjustmentValue -> but after that how to read onSellingPlanPercentagePriceAdjustment or adjustmentPercentage is not available. Tried all the possible ways - but unable to access those values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions