masturk18 Posted March 22, 2016 Share Posted March 22, 2016 Hey...i wanna know if theres a module im looking for. I wanna make a page that a user can upload his products so he could advertise his products.My page will be just for advertising the stores and products and not for online orders.so i want to create 2 forms.One that the owner can register to my site and pay a monthly price.And one for uploading their products.If its possible i want a free module for what i described earlier.if it isnt possible is there anything else i could do? sorry for my english.thanks Link to comment Share on other sites More sharing options...
Simonas Invertus Posted March 24, 2016 Share Posted March 24, 2016 It sounds similar to Marketplace. If you turn on catalog mode some Marketplace modules should work as you want. 1 Link to comment Share on other sites More sharing options...
masturk18 Posted March 27, 2016 Author Share Posted March 27, 2016 i was searching something free or something up to 100bucks.marketplace seems to be good but kinda expensive. thanks tho. Link to comment Share on other sites More sharing options...
Simonas Invertus Posted March 29, 2016 Share Posted March 29, 2016 It is very hard and takes a lot of development to implement it, so that's why it is expensive. Link to comment Share on other sites More sharing options...
masturk18 Posted April 6, 2016 Author Share Posted April 6, 2016 thanks for answering now i have another problem.i cant remove all the "add to cart buttons"... pfff i searched all the topics but i didnt get an answer on that.i want the prices to be visible so the cataloge mode doesnt work for me.i even erased from product.tpl a paragraph that saw it may work but nothing. Link to comment Share on other sites More sharing options...
Simonas Invertus Posted April 7, 2016 Share Posted April 7, 2016 I this depends on the theme, so I can not advice you. If you look at default PrestaShop theme 'add to cart' button is in product.tpl and in product_list.tpl Link to comment Share on other sites More sharing options...
masturk18 Posted April 8, 2016 Author Share Posted April 8, 2016 in both tpl files? it'd be great if you tell me on which row mentions the cart buttons in both files.yes i have the default bootstrap. Link to comment Share on other sites More sharing options...
Simonas Invertus Posted April 11, 2016 Share Posted April 11, 2016 The code you are looking for in product.tpl <div class="box-cart-bottom"> <div{if (!$allow_oosp && $product->quantity <= 0) || !$product->available_for_order || (isset($restricted_country_mode) && $restricted_country_mode) || $PS_CATALOG_MODE} class="unvisible"{/if}> <p id="add_to_cart" class="buttons_bottom_block no-print"> <button type="submit" name="Submit" class="exclusive"> <span>{if $content_only && (isset($product->customization_required) && $product->customization_required)}{l s='Customize'}{else}{l s='Add to cart'}{/if}</span> </button> </p> </div> And in product_list.tpl <div class="button-container"> {if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.customizable != 2 && !$PS_CATALOG_MODE} {if (!isset($product.customization_required) || !$product.customization_required) && ($product.allow_oosp || $product.quantity > 0)} {capture}add=1&id_product={$product.id_product|intval}{if isset($product.id_product_attribute) && $product.id_product_attribute}&ipa={$product.id_product_attribute|intval}{/if}{if isset($static_token)}&token={$static_token}{/if}{/capture} <a class="button ajax_add_to_cart_button btn btn-default" href="{$link->getPageLink('cart', true, NULL, $smarty.capture.default, false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart'}" data-id-product-attribute="{$product.id_product_attribute|intval}" data-id-product="{$product.id_product|intval}" data-minimal_quantity="{if isset($product.product_attribute_minimal_quantity) && $product.product_attribute_minimal_quantity >= 1}{$product.product_attribute_minimal_quantity|intval}{else}{$product.minimal_quantity|intval}{/if}"> <span>{l s='Add to cart'}</span> </a> {else} <span class="button ajax_add_to_cart_button btn btn-default disabled"> <span>{l s='Add to cart'}</span> </span> {/if} {/if} <a class="button lnk_view btn btn-default" href="{$product.link|escape:'html':'UTF-8'}" title="{l s='View'}"> <span>{if (isset($product.customization_required) && $product.customization_required)}{l s='Customize'}{else}{l s='More'}{/if}</span> </a> </div> I hope it helps. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now