为了方便使用插件WP Simple Shopping Cart,将购物车短代码按钮中的参数从固定值切换到可变值,决定使用Custom Fields来给修改购物车短代码中的name和price赋值。
创建Custom Fields字段创建selected_custom_field给name赋值用,再创建selected_custom_field_price给price赋值用。自定义的selected_custom_field值将与selected_custom_field_price自定义值按顺