VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: roman5527 on January 04, 2021, 14:44:53 PM

Title: Virtuemart product module order product
Post by: roman5527 on January 04, 2021, 14:44:53 PM
Hi, can you help me how i can add option order product based on backand order ?

Thnaks
Title: Re: Virtuemart product module order product
Post by: pinochico on January 04, 2021, 15:07:28 PM
A česky by to nešlo?

Můj google translate z toho vyloudil nesmysl a já vůbec nevím o co jde
Title: Re: Virtuemart product module order product
Post by: roman5527 on January 04, 2021, 16:02:16 PM
No jasne pinochico.

Chcel by som pridat do modulu Virtuemart product module aj moznost radenia produktov podla radenia v backende cize podla poradia v backende.
Vedel by si mi s tym pomoct ?

Dakujem
Title: Re: Virtuemart product module order product
Post by: pinochico on January 04, 2021, 16:13:59 PM
If you need use sorting product by backend (attachment) - standard VM product module don't have

You can use this:
https://www.minijoomla.org/cs/joomla-rozsireni/virtuemart-rozsireni/souvisejici-produkty-rozsirene-pro-virtuemart

Where some setup for sorting exist (attachment)


But if you need exactly the same setup as VM backend, then you must develop it, now I don't know how log time we need for developing.
Title: Re: Virtuemart product module order product
Post by: roman5527 on January 04, 2021, 20:20:02 PM
Hi, i dont buy extension.
I want help with code . Any function how work it.

Thanks
Title: Re: Virtuemart product module order product
Post by: pinochico on January 04, 2021, 22:06:36 PM
QuoteI want help with code

ok :)
Title: Re: Virtuemart product module order product
Post by: barbara on February 05, 2021, 01:33:46 AM
very surprised this basic option is still not available in such an otherwise well developed system
Title: Re: Virtuemart product module order product
Post by: barbara on February 05, 2021, 01:36:35 AM
it would appear your only option (with 9 products not too bad) is to either edit the ID numbers / created dates in the database, or delete all the products and install in reverse order, then use the 'latest products' option.

not too bad with only 9 products (my shop has a couple hundred, trying to do the same thing)
Title: Re: Virtuemart product module order product
Post by: pinochico on February 05, 2021, 03:35:54 AM
I'm also very surprised every day when I need functionality that is missing here and my developer doesn't do it for free.

Maybe you can develop something yourself and make it available, because as you can see, others want functionalities that are common to other ecommerce solutions, but they don't want to pay for development.

My grandmother said an old Czech proverb - not even a chicken rakes for free.

And that's why the version is. But I'm very happy for it because it's modular and I can make adjustments myself or order and pay for further adjustments.

Others may use my method or wait for someone to develop a solution and make it available for free or financially support a virtuemart dev team - this is very elegant.
Title: Re: Virtuemart product module order product
Post by: roman5527 on July 08, 2022, 10:02:31 AM
Hi , i find solution for this problem.

When i add new option in Virtuemart products module in XML file :
<field
          name="product_group"
          type="list"
          default="featured"
          label="MOD_VIRTUEMART_PRODUCT_DISPLAY"
          description="MOD_VIRTUEMART_PRODUCT_DISPLAY_DESC"
          >
          <option value="featured">MOD_VIRTUEMART_PRODUCT_FEATURED_PRODUCTS</option>
          <option value="discontinued">MOD_VIRTUEMART_PRODUCT_DISCONTINUED_PRODUCTS</option>
          <option value="latest">MOD_VIRTUEMART_PRODUCT_LATEST_PRODUCTS</option>
          <option value="random">MOD_VIRTUEMART_PRODUCT_RANDOM_PRODUCTS</option>
          <option value="topten">MOD_VIRTUEMART_PRODUCT_BEST_SALES</option>
          <option value="recent">MOD_VIRTUEMART_PRODUCT_RECENT_PRODUCTS</option>
          <option value="category">MOD_VIRTUEMART_PRODUCT_CATEGORY_ORDERING</option>
        </field>


<option value="category">MOD_VIRTUEMART_PRODUCT_CATEGORY_ORDERING</option>

and in settings module i set this option and set Use category filter to "YES" and select category and ordering products in this category  -> ITS WORK. I try it on J4.1.5 and VM 4.0.6.

settings module : https://prnt.sc/Y12QSTq1pyXT (https://prnt.sc/Y12QSTq1pyXT)