Skip to content

Refactor tutor native cart button with new customization options - #44

Open
sazedul-haque wants to merge 1 commit into
themeum:devfrom
sazedul-haque:update-tutor-cart
Open

sazedul-haque wants to merge 1 commit into
themeum:devfrom
sazedul-haque:update-tutor-cart

Conversation

@sazedul-haque

Copy link
Copy Markdown

No description provided.

</span>
</a>
<?php
if ( 'tutor' === tutor_utils()->get_option( 'monetize_by' ) && 'header_fullwidth_center' !== get_theme_mod( 'header_type_select' ) ) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of 'tutor' === tutor_utils()->get_option( 'monetize_by' )
use tutor_utils()->is_monetize_by_tutor()

</span>
</a>
<?php
if ( 'tutor' === tutor_utils()->get_option( 'monetize_by' ) && 'header_fullwidth_center' !== get_theme_mod( 'header_type_select' ) ) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@nur-alam

Copy link
Copy Markdown
Collaborator

The fork is out of date with the base branch. Please sync it and resolve the merge conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants