Skip to content

Related products like related posts #81

Open
@finalwebsites

Description

@finalwebsites

Hi,

The swiper integration is really nice!

I was a bit surprised that the function bootscore_related_posts() doesn't use the WC template structure.
While the shortcode [bs-swiper-card-product] is using this structure.

Is there a special reason for this?

EDIT: I see the bootscore_related_posts() supports al type of posts.

I merged the shortcode now with some code from the related posts function.
Maybe it's an idea the product shortcode?
https://gist.github.com/finalwebsites/5776ee8cc31a0bdb25f6d00d457a6cea

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions