Questions tagged [variants]
62 questions
0
votes
1 answer
Gradle: Manipulating flavors version name and version code based on their buildTypes
I am searching from other questions related on BuildConfig. I can't find any appropriate answers for my problem.
I want to generate apks with different version names and code, based on their variants.
For example:
Flavor1Debug.apk
versionName =…

neilQ5
- 179
- 1
- 12
0
votes
1 answer
Spreecommerce : Checkout doesn't work without product variants
If I don't have/want to setup product variants, I don't get the option to "add to card" and I can't checkout either.
Am I obliged to have more than one product variants in order to proceed?

George Katsanos
- 13,524
- 16
- 62
- 98
0
votes
1 answer
mysql products and variants database schema
I'm solving problem, how to store products with its variants in database.
My current system looks like this:
PARAMETERS - id_parameter (some parameter value - i.e. size XXL),...
PRODUCTS_PARAMTERS - id_product, id_paramter
CATEGORIES -…

Jan Kožušník
- 683
- 3
- 16
- 30
0
votes
1 answer
Shopify - Hiding sold out variants on dropdown (regular solution not working)
On my Shopify store I need to be able to hide sizes in the dropdown that are no longer available. I have tried multiple times adding the code that Shopify suggests here but I am using the Retina Out of the Sandbox theme and add that code to the…

Scott
- 1
- 2
0
votes
1 answer
Shopify - Remove Input Class
So I am working on setting up a Shopify store for the company I work for, we sell travel books. On the Shopify theme I am using Bold's Product Options app so that we can include all of our book option variants (we only have one option of 'Volume'…

Jacob Buller
- 137
- 4
- 24
0
votes
2 answers
Creating variants for programming APIs in Gradle
I am kinda new to gradle… I created a Java API (now a Gradle project which builds an jar) a long time ago which has some sensitive parts responsible for unencrypting company data as well as some non sensitive stuff. I have a new project that…

TangibleTeeth
- 23
- 4
0
votes
1 answer
Updating quantities in shopify using ruby
I'm trying to update attributes in shopify with the ruby API. What I have right now is
product.variants = ShopifyAPI::Variant.new(:id => 753289571, :price => 12.00, :inventory_management => 'shopify', :inventory_quantity => '100' )
Which I was…

Peter Fletcher
- 105
- 1
- 1
- 8
0
votes
1 answer
Get one variant in Shopify
My products have 2 variants, size and color. I want to display the size options as a series of buttons. Here's my current code:
{% for variant in product.variants %}

Joe Lowery
- 562
- 11
- 26
0
votes
1 answer
How to load a panel variant programmatically?
I do load a panel (node_view) in a ct modal window. That works perfect so far. But now I need to load a specific variant of the panel.
I was playing with the handler stuff... but didn't get, yet.
How can I do this?
Here's my code for loading the…

AndyMcCoy987
- 21
- 1
- 4
0
votes
1 answer
color swatches & dropdown lists at the same time - shopify
I am building an e-commerce site on shopify and I would like to add color swatches in the products but ONLY for one option (e.g. colors), not for all of them. I made all the changes according to this tutorial…

georgekpc
- 218
- 3
- 8
0
votes
1 answer
MYSQL - Return Product Option Variants
I'm in the process of moving product option data into new more efficient tables.
I've created the new tables:
Options: ID / Product_ID / Option_Text
Values: ID / Options_ID / Value_text
And I've put all the legacy options into these tables.…

Dan Manina
- 25
- 5
0
votes
1 answer
Different Variants per product: Shopify
I have started to create my eCommerce website and I have run into a road block. I have used a Shopify tutorial to create extra variants (excluding the variant options built in) to allow extra options (http://wiki.shopify.com/Line_Item_Properties).…

MADPADGE
- 113
- 2
- 12
0
votes
1 answer
Magento Bundle Product - selecting variants of products
I have a trouble with adding a multiple selecting sets in bundle product.
I have a bundle product name Tunic Veto and It has a two variants of sets which customer can select - first, second or both
Set 1:
Tunic size. S - 3szt.
Tunic size. XL -…
0
votes
0 answers
iter all possible tetris block forms
Possible Duplicate:
Programming Contest Question: Counting Polyominos
There are different types of Tetris shapes. For example in shape like letters T L I Z J O S.
I'm trying to get an algorithm that can create these blocks.
I'm using C++, but…

Joshua Behrens
- 818
- 13
- 23
0
votes
1 answer
VarToDateAsString return unexpected result
Delphi has this function:
function VarToDateAsString(const V: TVarData): TDateTime;
....
LResult := VarDateFromStr(S, VAR_LOCALE_USER_DEFAULT, 0, Result);
doing this with today's date:
VarDateFromStr('07;12;18', VAR_LOCALE_USER_DEFAULT, 0,…

YoungMaster
- 395
- 3
- 17