Plugin Directory

Changeset 2467937


Ignore:
Timestamp:
02/03/2021 01:09:51 PM (5 years ago)
Author:
samuelspeed
Message:

Adding of the final files required for this plugin as well as updating the readme.txt to reflect changes and additions.

Location:
dynamic-product-titles-for-variant-options
Files:
11 added
1 edited

Legend:

Unmodified
Added
Removed
  • dynamic-product-titles-for-variant-options/trunk/readme.txt

    r2467903 r2467937  
    2626== Example Use ==
    2727
    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
     30Note: If the default value is selected again after a variant has already been selected, the default title will again be used.
    2931
    3032
     
    3335= Does this plugin support more than one attribute per variant option? =
    3436
    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'.
     37Yes.
     38
     39At 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
     41This is the default behaviour in order to support multi-attribute varaints, for example 'ProductA - Red - Large'.
     42
     43In 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'.
    3644
    3745= Will there be any updates in the future? =
     
    69771. Activate the plugin through the 'Plugins' menu in WordPress.
    70781. **That's it** - The plugin should now be working on your site!
     79
     80
     81== Screenshots ==
     82
     831. Simple products as well as variant products without an option selected will show the default product title.
     842. Once a variant option has been selected, the product title will dynamically add the selected varaint option attribute value/s to the end.
     853. Changing varaint options will continue to change the product title shown.
Note: See TracChangeset for help on using the changeset viewer.