X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Change location in List (https://forum.x-cart.com/showthread.php?t=73119)

GlasPak 11-20-2015 09:41 AM

Change location in List
 
I have a custom module that adds to
* @ListChild (list="product.details.page.info", weight="10")

but for some reason changing the weight doesn't change the location it shows up in the list. Right now it is showing up as the 1st item in the list, I want it below

default/en/common/price_parts/price.tpl

which has the same weight

* @ListChild (list="product.plain_price", weight="10")

No matter what I change it to (5 or 20) it still stays as the first item on the list.

totaltec 11-20-2015 01:49 PM

Re: Change location in List
 
Tried redeploying/ rebuilding cache after the change?

GlasPak 11-20-2015 02:07 PM

Re: Change location in List
 
Quote:

Originally Posted by totaltec
Tried redeploying/ rebuilding cache after the change?


Did not, will do. The higher the number the lower on the list it goes right?

totaltec 11-20-2015 02:14 PM

Re: Change location in List
 
Quote:

Originally Posted by GlasPak
Did not, will do. The higher the number the lower on the list it goes right?

Yes.

Moving things in lists is one of those things that always require a rebuild to take effect. Or adding to a list.


All times are GMT -8. The time now is 11:44 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.