Closed k-kikuchi-waverworks closed 4 years ago
Thank you for fixing #33. I say big thanks to you.
However, this fix caused an another issues.
<td class="slm-view" data-title="<?php echo __('view', 'softwarelicensemanager'); ?>"><a href="" class=" woocommerce-button button view"><?php echo _e('view'); ?></a></td>
There is no string value for href attribute so that links for order pages are not working. I looked your code, and I think this should be like following.
href
<td class="slm-view" data-title="<?php echo __('view', 'softwarelicensemanager'); ?>"><a href="<?php echo get_site_url() . '/my-account/view-order/' . $license_info->purchase_id_; ?>" class=" woocommerce-button button view"><?php echo _e('view'); ?></a></td>
Would you mind fixing this?
King Regards KAZUKI
Thank you for fixing #33. I say big thanks to you.
However, this fix caused an another issues.
<td class="slm-view" data-title="<?php echo __('view', 'softwarelicensemanager'); ?>"><a href="" class=" woocommerce-button button view"><?php echo _e('view'); ?></a></td>
There is no string value for
href
attribute so that links for order pages are not working. I looked your code, and I think this should be like following.<td class="slm-view" data-title="<?php echo __('view', 'softwarelicensemanager'); ?>"><a href="<?php echo get_site_url() . '/my-account/view-order/' . $license_info->purchase_id_; ?>" class=" woocommerce-button button view"><?php echo _e('view'); ?></a></td>
Would you mind fixing this?
King Regards KAZUKI