Question Regarding Product Filters and Versions

Status
Not open for further replies.

Nulumia

Customer
Hi DBTech,
I'm building a store which doesn't use "master" products which represent and contain all the different versions or platforms available (such as how this site does). Rather, I may have a plugin under "Wordpress Plugins" category, and have the same plugin built and sold separately under "Xenforo Addons". Basically just preference for traditional store/category approach.

With this setup, would I basically ignore the Product Filters functionality completely? Further, if I only ever have one main version of any product, what would you recommend doing for the Version fields? The addon requires at least one version to be defined, so not sure if I should just put primary/Primary or official/Official on every product. I did notice when only one version is entered, it doesn't show anywhere on the frontend (which would be pointless for the user) so that is cool.

Thanks for any advice!
 
With this setup, would I basically ignore the Product Filters functionality completely?
Sure, product filters aren't necessary, so if you don't need that feature you can ignore it.

Further, if I only ever have one main version of any product, what would you recommend doing for the Version fields? The addon requires at least one version to be defined, so not sure if I should just put primary/Primary or official/Official on every product.
It doesn't matter what you put for the version field if you're only going to use one version :)
 
Hi Fillip - not a biggie here if not, but do you think there's a way I could pre-fill the version fields with some default value by editing some sort of template? Just to automate things for large inventories a bit faster.
 
You would need to edit the Public template dbtech_ecommerce_product_edit_macros and add something beneath
HTML:
<ul class="listPlain inputPair-container">

You probably want something like
HTML:
<xf:if is="$product.isInsert()">
    <li class="inputPair">
        <xf:textbox name="product_version[]" value="primary"
                    placeholder="{{ phrase('value_a_z_0_9_and_only') }}"
                    size="24" maxlength="25" data-i="0"
                    dir="ltr" />
        <xf:textbox name="product_version_text[]" value="Primary"
                    placeholder="{{ phrase('text') }}"
                    size="24" data-i="0" />
    </li>
</xf:if>
 
You would need to edit the Public template dbtech_ecommerce_product_edit_macros and add something beneath
HTML:
<ul class="listPlain inputPair-container">

You probably want something like
HTML:
<xf:if is="$product.isInsert()">
    <li class="inputPair">
        <xf:textbox name="product_version[]" value="primary"
                    placeholder="{{ phrase('value_a_z_0_9_and_only') }}"
                    size="24" maxlength="25" data-i="0"
                    dir="ltr" />
        <xf:textbox name="product_version_text[]" value="Primary"
                    placeholder="{{ phrase('text') }}"
                    size="24" data-i="0" />
    </li>
</xf:if>
Will try and let you know, thanks!
 
Hello @Nulumia,

We hope your ticket regarding DragonByte eCommerce has been addressed to your satisfaction. This ticket has now been closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

Similar threads

DragonByte eCommerce

XenForo 2.0.6+ XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,017
Customer rating
4.86 star(s) 7 ratings
Back
Top