Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
woocommerce_bpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wordpress
woocommerce_bpd
Commits
e73be9d2
Commit
e73be9d2
authored
Apr 05, 2014
by
Franco nextime Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add readme changes
parent
ba65712d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
README.md
README.md
+5
-0
class-product-addon-display.php
classes/class-product-addon-display.php
+2
-2
No files found.
README.md
View file @
e73be9d2
...
@@ -2,3 +2,8 @@ woocommerce-better-product-addons
...
@@ -2,3 +2,8 @@ woocommerce-better-product-addons
=================================
=================================
Fork of woothemes product addons plugin
Fork of woothemes product addons plugin
Changes from the original addon:
*
Removed auto-update
*
let's the first option added in select type be the default selected
classes/class-product-addon-display.php
View file @
e73be9d2
...
@@ -58,7 +58,7 @@ class Product_Addon_Display {
...
@@ -58,7 +58,7 @@ class Product_Addon_Display {
$params
=
array
(
$params
=
array
(
'i18n_addon_total'
=>
__
(
'Options total:'
,
'wc_product_addons'
),
'i18n_addon_total'
=>
__
(
'Options total:'
,
'wc_product_addons'
),
'i18n_grand_total'
=>
__
(
'
Grand t
otal:'
,
'wc_product_addons'
),
'i18n_grand_total'
=>
__
(
'
T
otal:'
,
'wc_product_addons'
),
'i18n_remaining'
=>
__
(
'characters remaining'
,
'wc_product_addons'
),
'i18n_remaining'
=>
__
(
'characters remaining'
,
'wc_product_addons'
),
'currency_format_num_decimals'
=>
absint
(
get_option
(
'woocommerce_price_num_decimals'
)
),
'currency_format_num_decimals'
=>
absint
(
get_option
(
'woocommerce_price_num_decimals'
)
),
'currency_format_symbol'
=>
get_woocommerce_currency_symbol
(),
'currency_format_symbol'
=>
get_woocommerce_currency_symbol
(),
...
@@ -384,4 +384,4 @@ class Product_Addon_Display {
...
@@ -384,4 +384,4 @@ class Product_Addon_Display {
$size
=
pow
(
1024
,
$log
-
$power
);
$size
=
pow
(
1024
,
$log
-
$power
);
return
$size
.
$units
[
$power
];
return
$size
.
$units
[
$power
];
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment