Jump to content
  • 0

Przeniesienie Listy Kolorów Produktu Pod Cenę Produktu W Product_List.tpl


Agaiwo

Question

Próbowałem przenieść to:

{if isset($product.color_list)}
<div class="color-list-container">{$product.color_list}</div>
{/if}

pod cenę produktu na w product_list.tpl, jednak kiedy to zrobiłem to teraz wyświetla się ona i pod krótkim opisem jak wcześniej i pod ceną na raz. Jak to zmienić by było tylko pod ceną?

 

Oto jak to wygląda:

 

2IJ8VQD.png

Edited by Agaiwo (see edit history)
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Nie bardzo wiem co zmienić w tym:

html += '<p class="product-desc">'+ $(element).find('.product-desc').html() + '</p>';
            var colorList = $(element).find('.color-list-container').html();
            if (colorList != null) {
                html += '<div class="color-list-container">'+ colorList +'</div>';
            }
            var availability = $(element).find('.availability').html();    // check : catalog mode is enabled
            if (availability != null) {
                html += '<span class="availability">'+ availability +'</span>';

żeby nie wyświetlało się to pod opisem. Pomoże ktoś?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...