What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Suggestion Add the cover loading to the page "add_resource" for free goods for Alternative Resource Display

Konsyltant

New Member
Can I somehow add the cover loading to the page adding goods (if free goods) the ability to insert the picture for Alternative Resource Display?
Since it is difficult for the forum users to explain then that they need to go repeatedly to the product page and change the cover of the goods in the menu
I tried to insert the code (Instead of inserting resource_icon):

Code:
<xf:form action="{{ link('resources/image', $resource) }}" upload="true" ajax="true" class="block">
    <div class="block-container">
        <div class="block-body block-row">
            <xf:macro name="image" arg-resource="{$resource}" />
        </div>
        <xf:submitrow icon="save" rowtype="simple" />
    </div>
</xf:form>

To the code xfrm_category_add_resource adding page, but the picture cannot be loaded.
If I indicate that the goods are for sale, then all the norms - the cover is loaded without problems.

Or the second option: that I can add a product for sale, but be able to install 0 in price, then the goods would be considered as free, then it was possible to put up the cover of the goods without error. Since now I can't add a product with 0 price
 
Top