【发布时间】:2017-12-19 12:05:54
【问题描述】:
我是编码新手,目前正在使用 woocommerce 订阅插件,如果我没有任何订阅,我想更改默认的“商店”。我希望它链接到特定产品而不是商店。
以下是本节的当前代码:
<?php
// translators: placeholders are opening and closing link tags to take to the shop page
printf( esc_html__( 'Anda masih belum melanggan. Mula melanggan %sdi sini%s.', 'woocommerce-subscriptions' ), '<a href="' . esc_url( apply_filters( 'woocommerce_subscriptions_message_store_url', get_permalink( wc_get_page_id( 'shop' ) ) ) ) . '">', '</a>' );
?>
</p>
<?php endif; ?>
我想将example.com/shop 更改为example.com/product-category/myproduct 之类的东西
任何帮助将不胜感激。
【问题讨论】:
标签: php wordpress woocommerce account woocommerce-subscriptions