Changeset 2467937
- Timestamp:
- 02/03/2021 01:09:51 PM (5 years ago)
- Location:
- dynamic-product-titles-for-variant-options
- Files:
-
- 11 added
- 1 edited
-
assets/banner-1544x500.jpg (added)
-
assets/banner-772x250.jpg (added)
-
assets/icon-128x128.jpg (added)
-
assets/icon-256x256.jpg (added)
-
assets/screenshot-1.jpg (added)
-
assets/screenshot-2.jpg (added)
-
assets/screenshot-3.jpg (added)
-
tags/1.0.1 (added)
-
tags/1.0.1/dynamic-product-titles-for-variant-options-functions.php (added)
-
tags/1.0.1/dynamic-product-titles-for-variant-options.php (added)
-
tags/1.0.1/readme.txt (added)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dynamic-product-titles-for-variant-options/trunk/readme.txt
r2467903 r2467937 26 26 == Example Use == 27 27 28 'ProductA' which has the attribute 'Colour' with 'Blue' and 'Red' as options, would see a default title of: 'ProductA', but when the first variant option is selected, the title would change to 'ProductA - Blue', and when the second variant option is selected, the title would change to 'ProductA - Red'. Note: If the default value is selected again after a variant has already been selected, the default title will again be used. 28 'ProductA' which has the attribute 'Colour' with 'Blue' and 'Red' as options, would see a default title of: 'ProductA', but when the first variant option is selected, the title would change to 'ProductA - Blue', and when the second variant option is selected, the title would change to 'ProductA - Red'. 29 30 Note: If the default value is selected again after a variant has already been selected, the default title will again be used. 29 31 30 32 … … 33 35 = Does this plugin support more than one attribute per variant option? = 34 36 35 Yes. At present, the default divider used between the product title and the variant option/s is ' - ', to give a result along the lines of 'ProductA - Red'. This is the default in order to support multi-attribute varaints, for example 'ProductA - Red - Large'. In future versions, I would like to add the ability for this value to be changed to better cater to users needs: for example changing it to ' in ' would work better when using colours, e.g. 'ProductA in Red', but would not currently be a good default as it would give odd results such as 'ProductA in Red in Large'. 37 Yes. 38 39 At present, the default divider used between the product title and the variant option/s is ' - ', to give a result along the lines of 'ProductA - Red'. 40 41 This is the default behaviour in order to support multi-attribute varaints, for example 'ProductA - Red - Large'. 42 43 In future versions, I would like to add the ability for this value to be changed to better cater to users needs: for example changing it to ' in ' would work better when using colours, e.g. 'ProductA in Red', but would not currently be a good default as it would give odd results such as 'ProductA in Red in Large'. 36 44 37 45 = Will there be any updates in the future? = … … 69 77 1. Activate the plugin through the 'Plugins' menu in WordPress. 70 78 1. **That's it** - The plugin should now be working on your site! 79 80 81 == Screenshots == 82 83 1. Simple products as well as variant products without an option selected will show the default product title. 84 2. Once a variant option has been selected, the product title will dynamically add the selected varaint option attribute value/s to the end. 85 3. Changing varaint options will continue to change the product title shown.
Note: See TracChangeset
for help on using the changeset viewer.